Merge "Ignore tap ouside for transient-hide task" into udc-dev
This commit is contained in:
@@ -540,7 +540,12 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
|
|||||||
mergeActivityOnly(info, t);
|
mergeActivityOnly(info, t);
|
||||||
} else if (!didMergeThings) {
|
} else if (!didMergeThings) {
|
||||||
// Didn't recognize anything in incoming transition so don't merge it.
|
// Didn't recognize anything in incoming transition so don't merge it.
|
||||||
Slog.w(TAG, "Don't know how to merge this transition.");
|
Slog.w(TAG, "Don't know how to merge this transition, foundRecentsClosing="
|
||||||
|
+ foundRecentsClosing);
|
||||||
|
if (foundRecentsClosing) {
|
||||||
|
mWillFinishToHome = false;
|
||||||
|
cancel(false /* toHome */);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// At this point, we are accepting the merge.
|
// At this point, we are accepting the merge.
|
||||||
|
|||||||
@@ -8526,6 +8526,14 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
// while in overview
|
// while in overview
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
final WindowState w = t.getWindowState();
|
||||||
|
if (w != null) {
|
||||||
|
final Task task = w.getTask();
|
||||||
|
if (task != null && w.mTransitionController.isTransientHide(task)) {
|
||||||
|
// Don't disturb transient animation by accident touch.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ProtoLog.i(WM_DEBUG_FOCUS_LIGHT, "onPointerDownOutsideFocusLocked called on %s",
|
ProtoLog.i(WM_DEBUG_FOCUS_LIGHT, "onPointerDownOutsideFocusLocked called on %s",
|
||||||
t);
|
t);
|
||||||
|
|||||||
Reference in New Issue
Block a user