summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorDanny Epstein <depstein@google.com>2021-02-12 16:36:58 -0800
committerDanny Epstein <depstein@google.com>2021-02-22 14:04:03 -0800
commit6628f4e7b86cc5878c004981e4913430dffe2937 (patch)
tree915f84d69f362257ee16e37f21f1d4a44c506709 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent8fea9c8e897e49950be4d965d44c7301a7ea945b (diff)
DO NOT MERGE Chk QUERY_ALL_PACKAGES when resolving
When resolving intents, check whether QUERY_ALL_PACKAGES permission was granted, as well as whether the caller is a system process, to determine whether filtering may occur. This allows prefered activity records to be deleted by non-system processes if they have QUERY_ALL_PACKAGES permission. Before this change, configuring a custom activity resolver doesn't work properly because it's not allowed to delete the record of the last chosen app before writing a new record. Test: Create a custom activity resolver, choose an app just once, choose another app next time, verify it defaults to the other app after that. Bug: 173543124 Change-Id: If4dfea0374352b5e903d15e87e90baf012abf40b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions