diff options
author | Kevin Han <kevhan@google.com> | 2021-02-26 15:46:39 -0800 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2021-03-16 17:37:59 -0700 |
commit | 0bf4918ab9a822afbdef442f96a61fd8685dd33c (patch) | |
tree | f986195b99ab6eae91ddd0c3848e20185d3e02d0 /PermissionController/src/com/android/permissioncontroller/Constants.java | |
parent | b2414c34b60eae71c59018a93429f0f1f4cf0c04 (diff) | |
download | Permission-0bf4918ab9a822afbdef442f96a61fd8685dd33c.tar.gz |
Show notification for hibernating apps
Update the UI for the notification that is shown when the hibernation
job hibernates apps. Use the appropriate list source (hibernated apps
vs. revoked apps) for the notification. Finally, update the intent to
the new intent action MANAGE_UNUSED_APPS.
Bug: 181172051
Test: atest AppHibernationIntegrationTest
Test: manual test
Change-Id: Ie828bf58ec44986a76da219779cd5151a4078b13
Diffstat (limited to 'PermissionController/src/com/android/permissioncontroller/Constants.java')
-rw-r--r-- | PermissionController/src/com/android/permissioncontroller/Constants.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PermissionController/src/com/android/permissioncontroller/Constants.java b/PermissionController/src/com/android/permissioncontroller/Constants.java index 7851462e5..1e57552ba 100644 --- a/PermissionController/src/com/android/permissioncontroller/Constants.java +++ b/PermissionController/src/com/android/permissioncontroller/Constants.java @@ -59,7 +59,7 @@ public class Constants { * ID for notification shown by * {@link HibernationJobService}. */ - public static final int AUTO_REVOKE_NOTIFICATION_ID = 1; + public static final int UNUSED_APPS_NOTIFICATION_ID = 1; /** * String action for navigating to the auto revoke screen. |