commit | fb43352f1c853eb51ce8ba4922ec75a452f0b1de | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Mon Feb 22 11:32:42 2021 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Thu Feb 25 10:38:21 2021 +0800 |
tree | dbfe87249f37d148e0bf74a0c138e56f7fb4f322 | |
parent | f5e313dc1fa72cd7b20a958d15895b537f3bc5fa [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: I435e0160128591b50ddd5998e7c558b78aaca9b1