summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVarun Shah <varunshah@google.com>2020-02-04 14:01:12 -0800
committerVarun Shah <varunshah@google.com>2020-02-13 12:01:13 -0800
commit0cbb6b63ee696f156499ed8873efc95602c01440 (patch)
tree0fc402f65d19e12692cd9f86541ec75f014051f2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3b726119ac628e0a7016ef22d2b14e1802dcfd48 (diff)
Obfuscate visibility of notification-related events.
UsageStats will return obfuscated NOTIFICATION_SEEN or NOTIFICATION_INTERRUPTION events to callers of #queryEvents and #queryEventsForUser if they don't hold the MANAGE_NOTIFICATIONS permission. Additionaly, refactor the query API in UsageStats to take in flags as defined in UsageEvents to make future obfuscation/visibility parameters cleaner. Also, add the MANAGE_NOTIFICATIONS permission to shell for CTS test. Bug: 144724524 Test: atest android.app.usage.cts.UsageStatsTest Test: atest com.android.server.people.data.UsageStatsQueryHelperTest Test: atest android.content.pm.cts.shortcutmanager.ShortcutManagerUsageTest Change-Id: I118de7e589ac8dd5924d3740c70903fa484b79b5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions