commit | 1dafc3859ae45671d666aa591bdb74a1e45518b3 | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Thu Jan 28 16:57:35 2021 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Fri Jan 29 12:19:11 2021 +0800 |
tree | 8dee82b2c63dcdaacf0ccef476b50a01bb2ef2c9 | |
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