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

Commit fd16a33b authored by Winson Chung's avatar Winson Chung Committed by Nishith Khanna
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:c33c47731fd942dd54d6cedaa222eadbbade098b
Merged-In: I2c0a71ff36538db376ccb6d99b1e468491dda7af
Change-Id: I2c0a71ff36538db376ccb6d99b1e468491dda7af
parent fa27eda8
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