Skip to content
Commit 089b0bb4 authored by Taras Antoshchuk's avatar Taras Antoshchuk
Browse files

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
parent 9c9434b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment