summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2020-12-30 19:25:39 +0800
committerJoanne Chung <joannechung@google.com>2021-01-15 12:25:06 +0800
commitd96bcfcdf2f8e9dffaec3a7f12dcee8ea831a99d (patch)
tree9793280e0e92597a465514eb6055ec0ddfb22ea8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent348c6f01e6fa4ea14faffbf4ca8533b8955beeca (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions