summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2020-12-30 19:25:39 +0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-09 20:17:56 +0000
commit41e9055fc37f586f9dde9e9771dd0424995b53c7 (patch)
treed602a0fc8135243c0d6ee3b770f41c1b219af2d4 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent47e0424b9ec6045485f557139a3d8188e6ec728e (diff)
Get ApplicationInfo using usr id
Use ApplicationInfoAsUser() to get the application information by user id to make sure we have correct permission, othewise we will get the SecurityException due to lack of INTERACT_ACROSS_USERS. Bug: 176313819 Test: atest CtsVoiceRecognitionTestCases Test: manual. 1.create profile user 2.Install sample recognizer app 3.Function works fine and no security exception occurred after apply the change Change-Id: I6958dbf661373606fb9dba55e386aaea4399a146 Merged-In: Iaf485537b8082d2109d2134ff987dc7244e31218 (cherry picked from commit d96bcfcdf2f8e9dffaec3a7f12dcee8ea831a99d)
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions