summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorJohn Wu <topjohnwu@google.com>2021-08-03 22:24:48 +0000
committerJohn Wu <topjohnwu@google.com>2021-08-03 22:24:48 +0000
commitf41ff188a0b81476155edaf02a819652f4ac093e (patch)
tree4eb3c78b0eac5b6e0e4cbbf8e1979827fca21f26 /core/java/android/util/SparseArrayMap.java
parent6baa40c9213ae74f3cfddee9abc9b6473bcaa596 (diff)
Enforce intents to match intent filters.
When an app registers an exported component in its manifest and adds an <intent-filter>, the component can be started by any intent - even those that do not match the intent filter. This has proven to be something that many developers find counterintuitive. Without checking the intent when the component is started, in some circumstances this can allow 3P apps to trigger internal-only functionality. Bug: 161252188 Test: atest CtsContentTestCases:PackageManagerTest Change-Id: I19e8ee0a529314b3417435471c6e68988a2ab897
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions