summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2017-12-28 13:23:10 +0000
committerTony Mak <tonymak@google.com>2018-01-04 13:11:50 +0000
commitd390ae9c7e2b115c47bee8a9cac924fd76e22c65 (patch)
tree10175298357694ed511b1f99da719137a270f5b8 /tools/aapt2/java/JavaClassGenerator.cpp
parent7efb442ab4deab0b91d525ea8e9f4fad204bea92 (diff)
Adjust permission checking of ensureCanModifyQuietMode
Two changes: 1. Verify caller package matches with calling UID before checking is it default launcher. 2. If IntentSender is specified, only caller with MANAGED_USERS can call through it. Test: run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.QuietModeHostsideTest Bug: 70212757 Change-Id: Iac118d988eb05097a56f343552c0b8845cf96749
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions