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

Commit f9642d4a 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

am: f97ca6dc

* commit 'f97ca6dc':
  Do not put floating windows into drag resize mode
parents 7f7aabe9 f97ca6dc
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;
        }