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

Commit 3b560548 authored by Andrii Kulian's avatar Andrii Kulian Committed by android-build-merger
Browse files

Merge "Check only task's override config for adjusting bounds" into oc-dev am: 1ad18abe

am: bbd883eb

Change-Id: I4e21b2778465c59e805b32a284323904f5462d98
parents 1a8982c4 bbd883eb
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -382,9 +382,7 @@ class Task extends WindowContainer<AppWindowToken> implements DimLayer.DimLayerU
     *                    the adjusted bounds's top.
     */
    void alignToAdjustedBounds(Rect adjustedBounds, Rect tempInsetBounds, boolean alignBottom) {
        // Task override config might be empty, while display or stack override config isn't, so
        // we have to check merged override config here.
        if (!isResizeable() || Configuration.EMPTY.equals(getMergedOverrideConfiguration())) {
        if (!isResizeable() || Configuration.EMPTY.equals(getOverrideConfiguration())) {
            return;
        }