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

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

Change-Id: I59cc12ece55b02a30dbd9f5f6ae741632dbbbccc
parents 71eaea2c 1ad18abe
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;
        }