commit | f7efdb42220b2740632327b3d553e62d3897a260 | [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:23:58 2021 +0000 |
tree | 847aa11cb8e0e0478989a8bb085dd8b882d10df0 | |
parent | 663162c3b0dacd1775a9197af750ca24d8b3a93b [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)