summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2020-12-06 22:51:23 -0800
committerHai Zhang <zhanghai@google.com>2020-12-10 16:19:05 -0800
commit65404d6c66a744dbf1e3bdd92396e28cdceb7eef (patch)
tree182a07881888d2e13578b12496d0f390111ceebd /tools/aapt2/java/JavaClassGenerator_test.cpp
parente7d707ceb0eb3d4c6bceed184580c1ab2406110a (diff)
Move permission methods in PackageManager to PermissionManager.
A number of permission-related methods were implemented in ApplicationPackageManager by calling the IPermissionManager AIDL interface. However since we are moving permission into module, the AIDL inteface can't be an API and the implementions must be moved. This change moves these methods into PermissionManager, with the javadoc and interface from PackageManager and the implementation from AppliationManager. The javadoc remains mostly the same except for style and typo fixes. The API interface also remains the same except for inclusive language changes since we are defining new one and have a chance to fix them now. We have to lazily get the PermissionManager instance because the context passed in may be null for an instrumentation use case. Bug: 158736025 Test: presubmit Change-Id: I1c28433ca6200679a41e3518354fe03b866621b5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions