| commit | 948ca2ec5d8198fa1883da0ad222b4e24b77dd23 | [log] [tgz] |
|---|---|---|
| author | Dipankar Bhardwaj <dipankarb@google.com> | Fri Jun 20 15:15:29 2025 +0000 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Aug 27 22:17:35 2025 -0700 |
| tree | f5acbca4e319833fa2d11cd1bc1b30d742e05678 | |
| parent | d9ede10433c6c9a1dccce5b68bb7832c0da645e1 [diff] |
Fix misuse of MediaProvider#INCLUDED_DEFAULT_DIRECTORIES MediaProvider#INCLUDED_DEFAULT_DIRECTORIES is internally used to grant access for file rename based on relative path. It can be misused by setting it in the bundle. Updated the code to stop using this extra and stope respecting it in AccessChecker class. Test: atest MediaProviderTests Bug: 415783046 Flag: EXEMPT bug fix (cherry picked from commit a631dca1a8c02d39d9a578ce331a7b23bf7ef962) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9271dc654e9b25c548800edfee4cc4767e8e61ee) Merged-In: I91c44428dc730be4cf42b3cb9c02e8eca4440f81 Change-Id: I91c44428dc730be4cf42b3cb9c02e8eca4440f81