commit | 3b5d58f17f145f3f8988312271c62821bf7e2696 | [log] [tgz] |
---|---|---|
author | yawanng <yawanng@google.com> | Mon Feb 08 22:38:28 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Apr 08 20:06:21 2021 +0000 |
tree | fcd467300512c5b9618e8b7ca6817e5290a200bd | |
parent | af9e4710df4b18e090c4c6c519d46816145193b0 [diff] |
Adds caller check to getAllPackages() This change enforces that only system, root or shell may call getAllPackages(), a hidden API that shares all package names regardless of user, instant app or package visibility rules. Bug: 174661955 Change-Id: I77460ae19a4d41151577646441f11e2eddbb741a Merged-In: I77460ae19a4d41151577646441f11e2eddbb741a (cherry picked from commit 8124efd57b50056d22e1b63c32c366ebdf049598) (cherry picked from commit 83cc106ca0907f977d12fbf1a75f4090038fdccc)