Loading core/java/android/app/Notification.java +5 −2 Original line number Diff line number Diff line Loading @@ -3485,8 +3485,11 @@ public class Notification implements Parcelable * * @hide */ public void setAllowlistToken(@Nullable IBinder token) { mAllowlistToken = token; public void clearAllowlistToken() { mAllowlistToken = null; if (publicVersion != null) { publicVersion.clearAllowlistToken(); } } /** Loading services/core/java/com/android/server/notification/NotificationManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -4442,7 +4442,7 @@ public class NotificationManagerService extends SystemService { // Remove background token before returning notification to untrusted app, this // ensures the app isn't able to perform background operations that are // associated with notification interactions. notification.setAllowlistToken(null); notification.clearAllowlistToken(); return new StatusBarNotification( sbn.getPackageName(), sbn.getOpPkg(), Loading Loading
core/java/android/app/Notification.java +5 −2 Original line number Diff line number Diff line Loading @@ -3485,8 +3485,11 @@ public class Notification implements Parcelable * * @hide */ public void setAllowlistToken(@Nullable IBinder token) { mAllowlistToken = token; public void clearAllowlistToken() { mAllowlistToken = null; if (publicVersion != null) { publicVersion.clearAllowlistToken(); } } /** Loading
services/core/java/com/android/server/notification/NotificationManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -4442,7 +4442,7 @@ public class NotificationManagerService extends SystemService { // Remove background token before returning notification to untrusted app, this // ensures the app isn't able to perform background operations that are // associated with notification interactions. notification.setAllowlistToken(null); notification.clearAllowlistToken(); return new StatusBarNotification( sbn.getPackageName(), sbn.getOpPkg(), Loading