summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2018-05-29 17:28:58 -0400
committerEvan Laird <evanlaird@google.com>2018-05-31 09:49:48 -0400
commita6917e12d49a4838efc78e8d8c1d75ab2a6f38a5 (patch)
treed045b5771e55ddf3747517bd31e5ddbec13efe44 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parentc87e4b8ea094f208601ce4c0095a77cb585e541c (diff)
Use disableForUser in StatusBarManager
If a secondary user is added to the device and in the middle of SUW, the SUW process can be killed via ADB. This will cause the process to get restarted and call StatusBarManager#disable()/disable2(), which uses the StatusBarManagerService methods that use the current uid. The fix is to use Binder.getCallingUserHandle() in StatusBarManager so that the SUW from another user can't affect the current user unless it is current. Test: start SUW from new user, cancel set up and go back to primary user. Kill the SUW process. Nav bars remain un-hidden Change-Id: Ie6f648827d8d384ae87f74e2d746b7566a7b9011 Fixes: 78360699
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions