diff options
author | Beverly <beverlyt@google.com> | 2020-06-15 15:25:47 -0400 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2020-06-16 15:47:37 -0400 |
commit | 546aa10dbf29c9ec144bdd94017b5786c645f06a (patch) | |
tree | d99067e5508307b1341b80f76b3785610224f5e4 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 3fb94d8e9da94234790fe5888b18fa80345b3159 (diff) |
Track non-foreground service notifs for appOps
Previously we were only updating appOps for notifications with standard
layouts that were associated with a foreground services. However,
non-foreground service notifications can be tagged with appOps, so we
make sure to update these notifications' appOps whenever appOps are
changed. (We do this by tracking all notifications with standard
layouts instead of just the foreground service notifications)
Test: atest AppOpsCoordinatorTest ForegroundServiceControllerTest
Test: manual (use camera on whatsApp, receive message with app op, quit
app, see that app op is gone on the notification)
Fixes: 158585352
Change-Id: I674fc42441c2847a030df03516484ee6cd9217ac
Change-Id: I0527b8596277e53bea5a68aa57e0726aea9d14ac
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions