Merge "[Settings] Replace TelephonyManager#from()" am: 19cebd9eca am: fb72a1094f

Change-Id: Ib6869f626d9cb5f085ab77c150e245dec904b6fb
This commit is contained in:
Automerger Merge Worker
2019-12-23 02:51:48 +00:00
13 changed files with 25 additions and 19 deletions

View File

@@ -82,7 +82,8 @@ public class MmsMessagePreferenceController extends TelephonyTogglePreferenceCon
public void init(int subId) {
mSubId = subId;
mTelephonyManager = TelephonyManager.from(mContext).createForSubscriptionId(mSubId);
mTelephonyManager = mContext.getSystemService(TelephonyManager.class)
.createForSubscriptionId(mSubId);
}
@Override