Loading services/core/java/com/android/server/textclassifier/TextClassificationManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -402,7 +402,7 @@ public final class TextClassificationManagerService extends ITextClassifierServi throws RemoteException { try { final int uid = context.getPackageManager() .getPackageUid(packageName, 0); .getPackageUidAsUser(packageName, UserHandle.getCallingUserId()); Preconditions.checkArgument(Binder.getCallingUid() == uid); } catch (IllegalArgumentException | NullPointerException | PackageManager.NameNotFoundException e) { Loading Loading
services/core/java/com/android/server/textclassifier/TextClassificationManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -402,7 +402,7 @@ public final class TextClassificationManagerService extends ITextClassifierServi throws RemoteException { try { final int uid = context.getPackageManager() .getPackageUid(packageName, 0); .getPackageUidAsUser(packageName, UserHandle.getCallingUserId()); Preconditions.checkArgument(Binder.getCallingUid() == uid); } catch (IllegalArgumentException | NullPointerException | PackageManager.NameNotFoundException e) { Loading