Merge "[Settings] Replace TelephonyManager#from()" am: 98e6ab358b am: 4be4ae6a75

Change-Id: Ie2daa594c252d71e63125108036a4428563bed5b
This commit is contained in:
Automerger Merge Worker
2019-12-26 04:17:28 +00:00
2 changed files with 15 additions and 17 deletions

View File

@@ -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