Avoid wrong telephonymanager with wrong sub id. am: ba845f7fe4 am: 8249689aed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422724 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If14458d1aeaae0df381f12d32f492e529614d540
This commit is contained in:
@@ -233,7 +233,8 @@ public class SimStatusDialogController implements LifecycleObserver {
|
||||
if (mSubscriptionInfo == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
mTelephonyManager =
|
||||
mTelephonyManager.createForSubscriptionId(mSubscriptionInfo.getSubscriptionId());
|
||||
mPhoneStateListener = getPhoneStateListener();
|
||||
updateLatestAreaInfo();
|
||||
updateSubscriptionStatus();
|
||||
|
||||
Reference in New Issue
Block a user