commit | a728dfa19c2601b576a718fd9f79916bccd07c0e | [log] [tgz] |
---|---|---|
author | Ivan Chiang <chiangi@google.com> | Tue Nov 16 08:56:59 2021 +0000 |
committer | Ivan Chiang <chiangi@google.com> | Tue Nov 16 08:56:59 2021 +0000 |
tree | 78e0d22b04cb3eece859436ff63bf07da915bc1e | |
parent | 9b7488a6ab3f4c8f5cfc30ff7d04a972643c1ff9 [diff] |
Avoid apps to get global access with table uri If the app is granted the read UriPerimssion on the uri without id, don't allow the app to get global access. Then, the app gets the same query result of the uri without read UriPermission. Test: atest --test-mapping packages/providers/MediaProvider Bug: 197302116 Change-Id: Id6349b7b49cf682c6703333bc96f1b7046b7700e Merged-In: Id6349b7b49cf682c6703333bc96f1b7046b7700e