summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-08 23:50:02 +0000
committerRubin Xu <rubinxu@google.com>2020-03-09 10:22:39 +0000
commitc6a1d93b4ff9f4b525fe77fa807eb7da26bb2445 (patch)
tree58a02eb18c5f74f3c4154cd703bd76bb7804cd3f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5580360ba832eebd7f7f63817d818987b5cb72c4 (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: I8744965389883870c569a1b70e75715aafeb7848 Merged-In: I611eb5768bfb73f01c63e6ab02d90f1178f8ec37 (cherry picked from commit f57597c6ef0283997340bf6524b48f14dae44112)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions