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

Commit ebc6d5df authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Don't halt movement notifications when display is frozen.

am: c67c2a91

Change-Id: I246a3a003dabd3499e70c575a353ae483aae4019
parents e0bd191c c67c2a91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1418,7 +1418,7 @@ final class WindowState implements WindowManagerPolicy.WindowState {
     */
    boolean hasMoved() {
        return mHasSurface && (mContentChanged || mMovedByResize)
                && !mAnimatingExit && mService.okToDisplay()
                && !mAnimatingExit
                && (mFrame.top != mLastFrame.top || mFrame.left != mLastFrame.left)
                && (mAttachedWindow == null || !mAttachedWindow.hasMoved());
    }
+7 −5
Original line number Diff line number Diff line
@@ -721,12 +721,14 @@ class WindowSurfacePlacer {
                    final boolean adjustedForMinimizedDockOrIme = task != null
                                && (task.mStack.isAdjustedForMinimizedDockedStack()
                                    || task.mStack.isAdjustedForIme());
                    if (mService.okToDisplay()) {
                        if ((w.mAttrs.privateFlags & PRIVATE_FLAG_NO_MOVE_ANIMATION) == 0
                                && !w.isDragResizing() && !adjustedForMinimizedDockOrIme
                                && (task == null || w.getTask().mStack.hasMovementAnimations())
                                && !w.mWinAnimator.mLastHidden) {
                            winAnimator.setMoveAnimation(left, top);
                        }
                    }

                    //TODO (multidisplay): Accessibility supported only for the default display.
                    if (mService.mAccessibilityController != null