diff options
author | Philip P. Moltmann <moltmann@google.com> | 2020-01-25 06:54:06 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-03-23 18:43:10 +0000 |
commit | 7f0136aac9fc6593c8a057c5e650293075335ebb (patch) | |
tree | 10c0bf79337464b1b0749fa43d782098b1f626c5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 3d4cf3468533db2e0cbe7e01c4325d8b3f93e2a2 (diff) |
Notify all packages is uid-mode is changed
Multiple packages might share a UID, but appOpsService might not have
cached the uid->package mapping for those yet. Hence the only way to
list all packages for a uid is to ask package manager.
setUidMode already handled this correctly, hence factor out the code
into notifyOpChangedForAllPkgsInUid and reuse it from
commitUidStatePendingLocked.
Bug: 148180766
Test: (on master) atest CtsAppOpsTestCases:android.app.appops.cts.ForegroundModeTest
Change-Id: I99a8f255a60d3523da7eb36a8f2c9426af1a1fea
Merged-In: I2d5d6c7aa38d201707349a137c9c29b7987775be
(cherry picked from commit 29e092bf290bacb980a47da22f722c1542197565)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions