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

Commit f97ca6dc authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Do not put floating windows into drag resize mode

am: dd6e4c19

* commit 'dd6e4c19':
  Do not put floating windows into drag resize mode
parents 96ef2831 dd6e4c19
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2165,6 +2165,11 @@ final class WindowState implements WindowManagerPolicy.WindowState {
        if (task == null) {
            return false;
        }
        if (mAttrs.width != MATCH_PARENT || mAttrs.height != MATCH_PARENT) {

            // Floating windows never enter drag resize mode.
            return false;
        }
        if (task.isDragResizing()) {
            return true;
        }