summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorpaulhu <paulhu@google.com>2019-11-05 18:05:05 +0800
committerpaulhu <paulhu@google.com>2019-11-24 22:27:32 +0800
commit86e23ebb47ee5689e4d2c43f6cfe8c02ab68ff5f (patch)
treee6aca5d5e4e0fcb4534ec6f6b0aaf4424502922f /tools/aapt2/java/JavaClassGenerator.cpp
parentba206b8f353c124a160348742a5403045ce41ed0 (diff)
Fix hasUseBackgroundNetworksPermission issue.
PermissionMonitor#hasUseBackgroundNetworksPermission only uses the first package name of the uid for checking permission. This is incorrect since each package declared different permissions. So using the mApps which already checked both network and using restricted network permissions. If uid is in the mApps list that means uid has one of permission at least. Bug: 135897744 Test: atest FrameworksNetTests Change-Id: I3500a03ce06b5b822311ad0c67b606ce4039216a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions