summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorRhed Jao <rhedjao@google.com>2021-07-12 11:08:47 +0800
committerRhed Jao <rhedjao@google.com>2021-07-12 07:34:27 +0000
commit650cb7a9dad726dbcd91599245cdf0e851c9b116 (patch)
tree69723caf281ddd2469a70137a05804ebd6e7d186 /core/java/android/util/SparseArrayMap.java
parentb1a430939d5e6d7330812d010c3203f4ab12d378 (diff)
Enforce package visibility to the callbacks of the sync status
App can read installed sync content providers without requiring any permission via the api ContentResolver#requestSync and ContentResolver#addStatusChangeListener. This cl enforces package visibility filter to the api ContentResolver#addStatusChangeListener. Application without the package visibility tag of the target applications in its manifest cannot receive sync status callbacks of the target applications. Bug: 190726121 Test: atest AppEnumerationTests Test: atest CtsSyncManagerTestsCases Test: atest ContentResolverSyncTestCaseatest Test: atest SyncManagerTest Test atest SyncOperationTest Test: atest SyncStorageEngineTest Test: atest DeferSyncTest Change-Id: I58d0baf5baefd942b454f06e1fa9d3b34d532a77
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions