diff options
author | Varun Shah <varunshah@google.com> | 2020-01-07 16:33:22 -0800 |
---|---|---|
committer | Varun Shah <varunshah@google.com> | 2020-01-29 11:28:22 -0800 |
commit | 01f6f26b544b188ac2f7e933e0222182eb1368ce (patch) | |
tree | abe94c37f5285eea5a3c15f623efe771bb8a2e9e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1b1bdd3642517cbb9b0986bbe0fe7cc2d5b8b49c (diff) |
Restrict visibility of SHORTCUT_INVOCATION events.
UsageStats will not return SHORTCUT_INVOCATION events to callers
of #queryEvents and #queryEventsForUser if they don't have visibility,
as defined by ShortcutService#hasShortcutHostPermission.
Also, add ACCESS_SHORTCUT permission to shell for CTS test and add the
ShortcutManagerUsageTest to postsubmit.
Bug: 145549490
Test: atest android.app.usage.cts.UsageStatsTest
Test: atest android.content.pm.cts.shortcutmanager.ShortcutManagerUsageTest
Change-Id: I2a69f061c35c31035a5d0381ab2f42029ec4fffc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions