commit | a3b6258e529c100ee3fb8bb52382a764e2d89351 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Thu Mar 05 17:25:00 2020 +0000 |
committer | Rubin Xu <rubinxu@google.com> | Fri Mar 06 09:05:51 2020 +0000 |
tree | e64550cd4810fe7ed66c5088b47d56809944ee57 | |
parent | 0d05cce083b0e188b1b83c8b2accca04ee0e691a [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