Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cfd8237 authored by Winson Chung's avatar Winson Chung Committed by Android Build Coastguard Worker
Browse files

Use provided calling uid/pid for checking intercept-global-drag flag

- This particular path can not rely on ActivityTaskManagerService's
  enforceTaskPermission() call since that uses the binder calling
  uid/pid, which has been cleared prior to calling
  validateAddingWindowLw().

Bug: 428700812
Flag: EXEMPT bugfix
Test: atest DragDropControllerTests

(cherry picked from commit 467b1858)
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:c63342c195420912e6b2ce30b8a13d435f253a05
Merged-In: Ic4de10db891c79130bb6e2f4d6e519ca6e4c0f73
Change-Id: Ic4de10db891c79130bb6e2f4d6e519ca6e4c0f73
parent e707f660
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment