OSDN Git Service

Make RadioInfo settings menu work for mSIM
authorJordan Liu <jminjie@google.com>
Tue, 2 Apr 2019 19:13:31 +0000 (12:13 -0700)
committerJordan Liu <jminjie@google.com>
Thu, 4 Apr 2019 17:54:53 +0000 (10:54 -0700)
commitb69e8f2615291ad93a52a974d501b18fe8e7b388
tree3a7d3bf30b290fc3a20989c75c4070a67f7c227f
parentf467ee4a28b3538f23d8f8b732d8793f5c8b3ced
Make RadioInfo settings menu work for mSIM

Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

Test: manual test
Fixes: 128033739
Change-Id: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
Merged-In: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
res/layout/radio_info.xml
res/values/strings.xml
src/com/android/settings/RadioInfo.java