summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2021-03-05 14:28:16 -0800
committerWinson <chiuwinson@google.com>2021-03-05 14:30:16 -0800
commit283c3a37ae2a9f6290f1fe09eeae808fe99f8f43 (patch)
tree940c1ee5a6383ec6bd3561ff8884602dbf4eb85d /rs/java/android/renderscript/RenderScript.java
parent61c4f64f1bb9bc175a92677aa14d510fe62f2ae3 (diff)
Only allow forwarding of Intents that MATCH_DEFAULT_ONLY
When IntentForwarderActivity is launched by PMS in response to a web URI, the only way it can pass domain verification is by declaring the DEFAULT category. Either explicitly or implicitly through MATCH_DEFAULT_ONLY added by startActivity. This makes the PackageManager API that checks if the Intent forwarding is allowed mirror the web Intent validation so that only DEFAULT marked Intents can be forwarded. Bug: 174688153 Test: manual, debug linked bug Change-Id: Ia87bf657067f2c5c691a07b1e5de35b9f476fde0
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions