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

Commit 3e19486f authored by Maryam Dehaini's avatar Maryam Dehaini Committed by Android (Google) Code Review
Browse files

Merge "Handle disposeInputLayer calls for DefaultWindowDecoration" into main

parents 15a444a9 54ffa5c3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -320,7 +320,8 @@ private constructor(
    fun disposeStatusBarInputLayer() =
        when {
            desktopWindowDecor != null -> requireDesktopWindowDecor().disposeStatusBarInputLayer()
            else -> error("Expected Non-null desktop window decoration")
            defaultWindowDecor != null -> {} // No-op
            else -> error("Expected Non-null default or desktop window decoration")
        }

    /** Returns [true] if [dragResizeListener] is handling the motion event. */