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

Commit 905b6814 authored by Omar Elmekkawy's avatar Omar Elmekkawy Committed by Android (Google) Code Review
Browse files

Merge "[11/n] Fix a bug where tiling isn't broken on 5 app open minimize" into main

parents 9397c27d b0b48ea6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.util.Slog
import android.view.SurfaceControl
import android.view.SurfaceControl.Transaction
import android.view.WindowManager.TRANSIT_CHANGE
import android.view.WindowManager.TRANSIT_OPEN
import android.view.WindowManager.TRANSIT_TO_BACK
import android.view.WindowManager.TRANSIT_TO_FRONT
import android.window.TransitionInfo
@@ -342,7 +343,9 @@ class DesktopTilingWindowDecoration(

    private fun isMinimized(changeMode: Int, infoType: Int): Boolean {
        return (changeMode == TRANSIT_TO_BACK &&
            (infoType == TRANSIT_MINIMIZE || infoType == TRANSIT_TO_BACK))
            (infoType == TRANSIT_MINIMIZE ||
                infoType == TRANSIT_TO_BACK ||
                infoType == TRANSIT_OPEN))
    }

    class AppResizingHelper(