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

Commit 25fe1d06 authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Ignore tap ouside for transient-hide task" into udc-dev am: af3ba546

parents 5e8ba9b6 af3ba546
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -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.
+8 −0
Original line number Original line Diff line number Diff line
@@ -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);