diff options
author | Michael Wachenschwanz <mwachens@google.com> | 2020-05-11 16:23:43 -0700 |
---|---|---|
committer | Michael Wachenschwanz <mwachens@google.com> | 2020-05-11 16:23:43 -0700 |
commit | cfe8c66a7a945fe813457eb7c25ceb5fc2c2a4e1 (patch) | |
tree | da26bf79e38c55fc50e44e3af718f1686901d6f1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ca0895907224c8dbf3666310e9938ac85a097d4d (diff) |
Fix DPM check logic for AppUsageLimitObserver (un)registering
In the case that the DevicePolicyManagerInternal Local service does not
exist on device, the permission check for
(un)registerAppUsageLimitObserver should not be skipped.
Test: atest android.app.usage.cts.UsageStatsTest (must be on a device
with <unavailable-feature name="android.software.device_admin" /> in
it's features xml)
Fixes: 155360727
Change-Id: I8a88e03a7636956d27f531cf989bda1a32799f07
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions