commit | cca5bf9282d37e132f2c4ba80ced5e6c074e8889 | [log] [tgz] |
---|---|---|
author | yawanng <yawanng@google.com> | Mon Feb 08 22:38:28 2021 +0000 |
committer | Patrick Baumann <patb@google.com> | Wed Mar 03 16:04:13 2021 +0000 |
tree | 31e4096e032e04490365565d7f8ab59c395ad7a9 | |
parent | 84fcb616be1f7133928c967907d8c4918f12effd [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)