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