summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-05-29 14:52:59 -0600
committerJeff Sharkey <jsharkey@android.com>2019-05-30 11:29:49 -0600
commit344ce7ce703f806f50ea253047d6dbbb10eaa424 (patch)
tree6bd74ba11afcc31dcafe1b83f0118f953e191e34 /startop/scripts/lib/cmd_utils.py
parent190e99cf3ab47b2eb196999aeab92a9eee98cae5 (diff)
Collect NeededUriGrants without holding locks.
In preparation for a future security fix, we need to determine Uri permission grants before acquiring the WM lock. This CL is mostly mechanical refactoring to split the calculation and granting logic into two phases, and pass around the calculated NeededUriGrants. There is no other logic changes included in this CL, so it should have no effects. Bug: 115619667 Test: atest WmTests:ActivityStarterTests Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests Test: atest android.appsecurity.cts.AppSecurityTests Change-Id: I033e23549008bea26528781f16caa92427b39c71
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions