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:dd263302d1fe2cea87d337bd02f204e44701de7d Merged-In: I24b7beb434d234cb3d6a0f1ca0564d82d170d256 Change-Id: I24b7beb434d234cb3d6a0f1ca0564d82d170d256
Loading
Please register or sign in to comment