Skip to content
Commit 283c3a37 authored by Winson's avatar Winson
Browse files

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
parent 61c4f64f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment