Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b61af00a authored by Jayachandran Chinnakkannu's avatar Jayachandran Chinnakkannu Committed by Android (Google) Code Review
Browse files

Merge "Remove usage of Telephonymanager getDefault() and from() hidden APIs"

parents 4ac646cd 30167034
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1179,7 +1179,7 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
        long token = Binder.clearCallingIdentity();
        synchronized (this) {
            if (mTelephony == null) {
                mTelephony = TelephonyManager.from(mContext);
                mTelephony = mContext.getSystemService(TelephonyManager.class);
            }
        }
        if (mTelephony != null) {