commit | db3c69afcb0a45c8aa2f333fcde36217889899fe | [log] [tgz] |
---|---|---|
author | Dipankar Bhardwaj <dipankarb@google.com> | Thu Jul 06 10:01:20 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 14 17:32:41 2023 +0000 |
tree | 2b626b9b9839ca477ffce63496e52dce599af202 | |
parent | 23d156ed1bed6d2c2b325f0be540d0afca510c49 [diff] |
Canonicalize file path for insertion by legacy apps Apps with legacy external storage can try to create entries in MP for file paths in other apps external private directories by using a non-canonical path in insertion calls. Test: atest LegacyStorageHostTest#testInsertToOtherAppPrivateDirFails Bug: 276898626 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3c0f583f5dc3f4d395fa2423ab72dbd902c0c6c8) Merged-In: If4c941c8156f19459b3ec6cbaf705824ecc2ba77 Change-Id: If4c941c8156f19459b3ec6cbaf705824ecc2ba77