summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMichael Wachenschwanz <mwachens@google.com>2020-04-01 16:28:46 -0700
committerMichael Wachenschwanz <mwachens@google.com>2020-04-06 16:02:33 -0700
commitd2b132fac44c38aea685db9170f24cf93a25ca99 (patch)
tree77ef7a9a75e74c31f21e26139cd598fd58d92ac9 /tools/aapt2/java/JavaClassGenerator.cpp
parent969e1e2759c0fad8862df2a9b4467e2e0bfb4594 (diff)
Add permission check to UsageStatsManager#isAppInactive
UsageStatsManager#isAppInactive provides usage information that is usually gated by the PACKAGE_USAGE_STATS permission in similar API. This updates isAppInactive to also check for the PACKAGE_USAGE_STATS permission. Test: atest android.app.usage.cts android.app.usage.cts.UsageStatsTest#testIsAppInactive Fixes: 148991455 Change-Id: I8ff8eb5d2e887bc164095f38d374e3992808fe79
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions