)]}'
{"id":"LineageOS%2Fandroid_packages_providers_MediaProvider~328228","triplet_id":"LineageOS%2Fandroid_packages_providers_MediaProvider~lineage-18.1~I52481b24b137790d49845f1a4b00978c63ed183b","project":"LineageOS/android_packages_providers_MediaProvider","branch":"lineage-18.1","topic":"R_asb_2022-04","hashtags":[],"change_id":"I52481b24b137790d49845f1a4b00978c63ed183b","subject":"Restrict legacy apps to insert files to other private app dirs","status":"MERGED","created":"2022-04-05 15:32:01.000000000","updated":"2022-04-12 03:40:48.000000000","submitted":"2022-04-12 03:40:48.000000000","submitter":{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"328228-R_asb_2022-04","meta_rev_id":"a8df7e520155cc9d1301fb3edf25e581a0fb227b","_number":328228,"virtual_id_number":328228,"owner":{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"actions":{},"labels":{"Verified":{"all":[{"value":0,"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"all":[{"value":0,"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}],"values":{"-2":"Do not submit","-1":"I would prefer that you didn\u0027t submit this"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0},"CI":{"all":[{"value":0,"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}],"values":{"-1":"Fail"," 0":"No score","+1":"Pass"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{},"pending_reviewers":{},"reviewer_updates":[],"messages":[{"id":"d73d20bd1cc7a735184bcf5678709758809c08b6","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"date":"2022-04-05 15:32:01.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"a8df7e520155cc9d1301fb3edf25e581a0fb227b","tag":"autogenerated:gerrit:merged","author":{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"date":"2022-04-12 03:40:48.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"3bc157706904f0c8929ef884f482bc361cca6ff8","revisions":{"bf41c12036b518bf57f323073adf7b709efd601b":{"kind":"REWORK","_number":1,"created":"2022-04-05 15:32:01.000000000","uploader":{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"ref":"refs/changes/28/328228/1","fetch":{"anonymous http":{"url":"https://github.com/LineageOS/android_packages_providers_MediaProvider","ref":"refs/changes/28/328228/1","commands":{"Branch":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/1 \u0026\u0026 git checkout -b change-328228 FETCH_HEAD","Checkout":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/1","Reset To":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"b7532987ac29d6e1507d4255607ffce8f5ca7a1e","subject":"Automatic translation import","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_packages_providers_MediaProvider/commit/b7532987ac29d6e1507d4255607ffce8f5ca7a1e"}]}],"author":{"name":"Abhijeet Kaur","email":"abkaur@google.com","date":"2021-11-17 08:40:34.000000000","tz":0},"committer":{"name":"Kevin F. Haggerty","email":"haggertk@lineageos.org","date":"2022-04-05 15:31:04.000000000","tz":-360},"subject":"Restrict legacy apps to insert files to other private app dirs","message":"Restrict legacy apps to insert files to other private app dirs\n\nWe allow legacy apps to insert/update content values such that they can\nadd private files to MediaStore database. Restrict such apps to\ninsert/update content in other app\u0027s private directories. Add extensive\nlogic to allow apps with special access (installers, access_mtp,\ndownloadsprovider) to have same level of access to other app\u0027s private\ndirectories.\n\nRetrict System Gallery apps and apps with MANAGE_EXTERNAL_STORAGE\npermission to insert private path files.\n\nBug: 201667614\nTest: atest FileUtilsTest\nTest: atest CtsScopedStorageHostTest\nTest: atest LegacyStorageTest:LegacyStorageHostTest\nChange-Id: I52481b24b137790d49845f1a4b00978c63ed183b\nMerged-In: I52481b24b137790d49845f1a4b00978c63ed183b\n(cherry picked from commit 220971d4e9dddb91d8073c0c295fe0fff057249d)\nMerged-In: I52481b24b137790d49845f1a4b00978c63ed183b\n","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_packages_providers_MediaProvider/commit/bf41c12036b518bf57f323073adf7b709efd601b"}],"resolve_conflicts_web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_packages_providers_MediaProvider/commit/bf41c12036b518bf57f323073adf7b709efd601b"}]},"branch":"refs/heads/lineage-18.1"},"3bc157706904f0c8929ef884f482bc361cca6ff8":{"kind":"REWORK","_number":2,"created":"2022-04-12 03:40:48.000000000","uploader":{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"ref":"refs/changes/28/328228/2","fetch":{"anonymous http":{"url":"https://github.com/LineageOS/android_packages_providers_MediaProvider","ref":"refs/changes/28/328228/2","commands":{"Branch":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/2 \u0026\u0026 git checkout -b change-328228 FETCH_HEAD","Checkout":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/2","Reset To":"git fetch https://github.com/LineageOS/android_packages_providers_MediaProvider refs/changes/28/328228/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"91ce18d103c7f96dd14e33c6e0cb552cc666710c","subject":"Merge cherrypicks of [15786017] into security-aosp-rvc-release.","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_packages_providers_MediaProvider/commit/91ce18d103c7f96dd14e33c6e0cb552cc666710c"}]}],"author":{"name":"Abhijeet Kaur","email":"abkaur@google.com","date":"2021-11-17 08:40:34.000000000","tz":0},"committer":{"name":"Android Build Coastguard Worker","email":"android-build-coastguard-worker@google.com","date":"2022-02-10 22:11:52.000000000","tz":0},"subject":"Restrict legacy apps to insert files to other private app dirs","message":"Restrict legacy apps to insert files to other private app dirs\n\nWe allow legacy apps to insert/update content values such that they can\nadd private files to MediaStore database. Restrict such apps to\ninsert/update content in other app\u0027s private directories. Add extensive\nlogic to allow apps with special access (installers, access_mtp,\ndownloadsprovider) to have same level of access to other app\u0027s private\ndirectories.\n\nRetrict System Gallery apps and apps with MANAGE_EXTERNAL_STORAGE\npermission to insert private path files.\n\nBug: 201667614\nTest: atest FileUtilsTest\nTest: atest CtsScopedStorageHostTest\nTest: atest LegacyStorageTest:LegacyStorageHostTest\nChange-Id: I52481b24b137790d49845f1a4b00978c63ed183b\nMerged-In: I52481b24b137790d49845f1a4b00978c63ed183b\n(cherry picked from commit 220971d4e9dddb91d8073c0c295fe0fff057249d)\nMerged-In:I52481b24b137790d49845f1a4b00978c63ed183b\n","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_packages_providers_MediaProvider/commit/3bc157706904f0c8929ef884f482bc361cca6ff8"}],"resolve_conflicts_web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_packages_providers_MediaProvider/commit/3bc157706904f0c8929ef884f482bc361cca6ff8"}]},"branch":"refs/heads/lineage-18.1"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
