Merge "[Settings] Replace TelephonyManager#from()" am: 98e6ab358b
am: 4be4ae6a75
Change-Id: Ie2daa594c252d71e63125108036a4428563bed5b
This commit is contained in:
@@ -50,7 +50,8 @@ public class EuiccPreferenceController extends TelephonyBasePreferenceController
|
||||
|
||||
public void init(int subId) {
|
||||
mSubId = subId;
|
||||
mTelephonyManager = TelephonyManager.from(mContext).createForSubscriptionId(mSubId);
|
||||
mTelephonyManager = mContext.getSystemService(TelephonyManager.class)
|
||||
.createForSubscriptionId(mSubId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user