OSDN Git Service

clearCallingIdentity before calling into getPackageUidAsUser
authorTony Mak <tonymak@google.com>
Thu, 14 Dec 2017 12:40:07 +0000 (12:40 +0000)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Fri, 3 Aug 2018 19:05:19 +0000 (19:05 +0000)
commit51f7f6bd1f064450bf5e8bc6e0fe74f44927ae38
tree05d306c1a05921d9608495bd7aad03dc4a739ccd
parent959db062fb72575322b3349170a2b523049e1d07
clearCallingIdentity before calling into getPackageUidAsUser

Fix: 70585244
Bug: 69981755

Test: Enable any accessibility service -> inflate work profile
      -> Tap on any work app -> no longer crash

Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.CrossProfileAppsHostSideTest.testPrimaryUserToManagedProfile
Change-Id: I80d18f4e2ab76a228cb0aa2c8312c323a9b5c84d
(cherry picked from commit 857326e3731939f6ec7979e1d86585bf0ea484f4)
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java