Loading services/core/java/com/android/server/notification/NotificationManagerService.java +0 −5 Original line number Diff line number Diff line Loading @@ -1441,11 +1441,6 @@ public class NotificationManagerService extends SystemService { return ; } if (isCallerInstantApp(pkg)) { throw new SecurityException("Instant app " + pkg + " is not allowed to create toasts"); } final boolean isSystemToast = isCallerSystem() || ("android".equals(pkg)); final boolean isPackageSuspended = isPackageSuspendedForUser(pkg, Binder.getCallingUid()); Loading Loading
services/core/java/com/android/server/notification/NotificationManagerService.java +0 −5 Original line number Diff line number Diff line Loading @@ -1441,11 +1441,6 @@ public class NotificationManagerService extends SystemService { return ; } if (isCallerInstantApp(pkg)) { throw new SecurityException("Instant app " + pkg + " is not allowed to create toasts"); } final boolean isSystemToast = isCallerSystem() || ("android".equals(pkg)); final boolean isPackageSuspended = isPackageSuspendedForUser(pkg, Binder.getCallingUid()); Loading