summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorTaras Antoshchuk <tantoshchuk@google.com>2020-07-14 18:27:10 +0200
committerTaras Antoshchuk <tantoshchuk@google.com>2020-07-15 09:59:22 +0000
commit089b0bb4f96c55c5fc00fb4c5487ad6c65c1c403 (patch)
tree6a4ed507aa1c2d60fba6f505cca1a5550942f9e4 /startop/scripts/lib/cmd_utils.py
parent9c9434b30fec303c4c107897b5cf2ce485578f8f (diff)
Use clean calling identity to clear preferred activities
In some cases we need to clear preferred activities for all users after changing mimeGroups via PackageManager#setMimeGroup. This can result in clearing preferred activities for non-current user. Which will cause SecurityException if done without using clean calling identity. Test: multiple users on device; atest CtsDynamicMimeHostTestCases Bug: 161239297 Change-Id: I0a84702526ea5ab110aa44056d0407d106d079e3
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions