OSDN Git Service

clearCallingIdentity before calling into getPackageUidAsUser
authorTony Mak <tonymak@google.com>
Thu, 14 Dec 2017 12:40:07 +0000 (12:40 +0000)
committerhamzeh <hamzeh@google.com>
Thu, 17 May 2018 15:02:27 +0000 (08:02 -0700)
commit5797ff6386b374359189d5927a0a7920f30edd50
tree6bff440e4aa22d5cb5262ad9731ef37970eb5f6a
parenta9d5e501eb4519f5a7c8da1df460d33ba8750182
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