cleanup: Fix permission protection of setObservedMotionEventSources
The previous permission protection was done inside a Binder clear identity call, meaning that it used the permissions of system_server instead of the permissions of the calling AccessibilityService. Bug: 419110583 Test: atest AccessibilityServiceInfoTest Flag: EXEMPT security bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:01bfef47f3b1a14c0bafc2ede609582fc3ba39e7) Merged-In: If64838388fa31bdc9abb0896d4011bfef8501a7c Change-Id: If64838388fa31bdc9abb0896d4011bfef8501a7c
Loading
Please register or sign in to comment