summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-12-09 17:00:23 -0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-09 01:23:14 +0000
commit0864ae9732240a343fe4fc4c393071964e2e9854 (patch)
treef55f66d921cba940dd53488be8855deac8ae0b19 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent95602e325ae1ee9cf383db38cb0a8d47567618dc (diff)
Only allow BROWSABLE && DEFAULT Intents to be always opened
Auto verification of app links requires that an intent filter declare action=VIEW, scheme=HTTP(S), category=BROWSABLE. However, PackageManagerService was not taking that into account, missing the category requirement. But the app info Settings UI did take category into account, so it was possible for a user to set an application to automatically open web URIs without understanding that this also granted domains that were not visible in the app info UI. To resolve both this, this change makes it so that both auto verification and the Settings state can only consider the app as "always" open only if the Intent contains both BROWSABLE and DEFAULT. Bug: 175139501 Bug: 175319005 Test: manual, see bug for reproduction steps Merged-In: Ib957258735893bf2779bed19bd400c6726ee6478 Change-Id: Ib957258735893bf2779bed19bd400c6726ee6478 (cherry picked from commit 4266f938c6705466d3844385c2031d1e80ee7b2d) (cherry picked from commit 0f337fcea8de957ac2939f602461913283ecabce)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions