diff options
author | Andrei Stingaceanu <stg@google.com> | 2016-01-22 15:33:03 +0000 |
---|---|---|
committer | Andrei Stingaceanu <stg@google.com> | 2016-01-27 16:47:08 +0000 |
commit | 0122f651d1a1de8ccfe6e2789e150507977189c7 (patch) | |
tree | e5d286f8e11a40ca8ece25729080cd4a02e11ef5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 18b6618f92e9ad0d78384520e588f581f91e1c1b (diff) |
Suspend apps - disable notifications
Disable notifications and posts for suspended apps by
verifying if the package is suspended in NotificationManagerService
where AppOpsManager.OP_POST_NOTIFICATION is checked.
Note that the notificationEnabled user preference is
preserved when unsuspending.
In a following CL will make the "Block all" notifications
setting while an app is suspended (in Settings -> App Info)
readonly so that the user can not turn notifications on.
Bug: 22776761
Change-Id: Ie8edba508bd23406445f9a014404b6d3b17cb223
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions