diff options
author | Jackal Guo <jackalguo@google.com> | 2021-01-28 16:57:35 +0800 |
---|---|---|
committer | Jackal Guo <jackalguo@google.com> | 2021-01-29 12:19:11 +0800 |
commit | 1dafc3859ae45671d666aa591bdb74a1e45518b3 (patch) | |
tree | 8dee82b2c63dcdaacf0ccef476b50a01bb2ef2c9 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 77bb0b72919bb93d89095f2f78accac160633c02 (diff) |
Enfore cross user permission to getPackagesForUid
Apps could use getPackagesForUid with given UID to query if there
is a installed and get its package name across user. Expect for
package visibility filtering, we also need to ensure across-user
calls come with appropriate permission.
Bug: 167654926
Test: atest ApplicationVisibilityTest
Change-Id: I1172177298cd084430c612f50e4b921b92d4a1c3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions