summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2020-03-05 17:25:00 +0000
committerRubin Xu <rubinxu@google.com>2020-03-06 09:05:51 +0000
commita3b6258e529c100ee3fb8bb52382a764e2d89351 (patch)
treee64550cd4810fe7ed66c5088b47d56809944ee57 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0d05cce083b0e188b1b83c8b2accca04ee0e691a (diff)
Clear binder identity before calling PackageManager API
With the introduction of app enumeration restriction in R, PackageManager will restrict package visiblity if the caller is not privileged. This caused regression in existing system server code where binder identity is not cleared prior to making PackageManager calls. Bug: 150398249 Test: com.android.cts.devicepolicy.MixedDeviceOwnerTest#testAlwaysOnVpn Change-Id: I611eb5768bfb73f01c63e6ab02d90f1178f8ec37
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions