diff options
author | yawanng <yawanng@google.com> | 2021-02-08 22:38:28 +0000 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2021-03-15 18:46:55 +0000 |
commit | 264dea63b026d1f3e5217db632d3665fdbb3ffae (patch) | |
tree | 962ef2b606863a2ce5dc944941bee48b8965ed67 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8d900812b7828a5d543dfb1e88697923c3f41ca0 (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
Merged-In: I77460ae19a4d41151577646441f11e2eddbb741a
(cherry picked from commit cca5bf9282d37e132f2c4ba80ced5e6c074e8889)
Change-Id: I630cfd7c3be9bf6f2a6b8e132f6b8dda6b7fa274
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions