diff options
author | Jackal Guo <jackalguo@google.com> | 2020-08-18 13:15:40 +0800 |
---|---|---|
committer | Jackal Guo <jackalguo@google.com> | 2020-08-21 09:26:31 +0800 |
commit | a478dfcc38f63693115af973095417dc51ced068 (patch) | |
tree | 9377c53afbfe8add7d20f64776d93e80237692ef /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0f54ce6bd21a7262746b90d1cb9c9e27b81c3d1b (diff) |
Rename pmInternal#getPackageUidInternal (1/4)
This method was added to operate as an internal variant of the
public getPackageUid method since pmInternal#getPackageUid already
exist. However, pmInternal#getPackageUid method just called to the
public interface, and enforcing permissions and visibility checks.
Since we don't expect any UID/permission checks in a local service,
any callers to this method requiring permission checks should be
migrated onto the PackageManager public method. Remove the original
pmInternal#getPackageUid and rename #getPackageUidInternal to take
its place.
Bug: 148235092
Test: Build pass and boot
Change-Id: Ibd4aa8a6a7743ff378a23e21c68efc52692580c7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions