commit | 83cc106ca0907f977d12fbf1a75f4090038fdccc | [log] [tgz] |
---|---|---|
author | yawanng <yawanng@google.com> | Mon Feb 08 22:38:28 2021 +0000 |
committer | Patrick Baumann <patb@google.com> | Mon Mar 01 17:04:52 2021 +0000 |
tree | c3e88ad007c07ae5e0f5f5fce60f26ff0af3b9d4 | |
parent | a0f134bd117a98ed27293af711c6b6d367bad6c3 [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)