Merge "Allow to send user leave hint for task switch by touch" into tm-qpr-dev
This commit is contained in:
@@ -8514,7 +8514,10 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
if (mFocusedInputTarget != t && mFocusedInputTarget != null) {
|
||||
mFocusedInputTarget.handleTapOutsideFocusOutsideSelf();
|
||||
}
|
||||
// Trigger Activity#onUserLeaveHint() if the order change of task pauses any activities.
|
||||
mAtmService.mTaskSupervisor.mUserLeaving = true;
|
||||
t.handleTapOutsideFocusInsideSelf();
|
||||
mAtmService.mTaskSupervisor.mUserLeaving = false;
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
||||
Reference in New Issue
Block a user