Loading src/com/android/server/telecom/TelecomServiceImpl.java +3 −0 Original line number Diff line number Diff line Loading @@ -2707,6 +2707,7 @@ public class TelecomServiceImpl { int packageUid = -1; int callingUid = Binder.getCallingUid(); PackageManager pm; long token = Binder.clearCallingIdentity(); try{ pm = mContext.createContextAsUser( UserHandle.getUserHandleForUid(callingUid), 0).getPackageManager(); Loading @@ -2715,6 +2716,8 @@ public class TelecomServiceImpl { Log.i(this, "callingUidMatchesPackageManagerRecords:" + " createContextAsUser hit exception=[%s]", e.toString()); return false; } finally { Binder.restoreCallingIdentity(token); } if (pm != null) { try { Loading Loading
src/com/android/server/telecom/TelecomServiceImpl.java +3 −0 Original line number Diff line number Diff line Loading @@ -2707,6 +2707,7 @@ public class TelecomServiceImpl { int packageUid = -1; int callingUid = Binder.getCallingUid(); PackageManager pm; long token = Binder.clearCallingIdentity(); try{ pm = mContext.createContextAsUser( UserHandle.getUserHandleForUid(callingUid), 0).getPackageManager(); Loading @@ -2715,6 +2716,8 @@ public class TelecomServiceImpl { Log.i(this, "callingUidMatchesPackageManagerRecords:" + " createContextAsUser hit exception=[%s]", e.toString()); return false; } finally { Binder.restoreCallingIdentity(token); } if (pm != null) { try { Loading