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

Commit bd88cf43 authored by Matt Sziklay's avatar Matt Sziklay Committed by Android (Google) Code Review
Browse files

Merge "Set input layers to GONE rather than INVISIBLE." into main

parents 02244c6d 8cdf650e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ class DesktopStatusBarInputLayerSupplier(
        lp.inputFeatures = WindowManager.LayoutParams.INPUT_FEATURE_SPY
        lp.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
        val view = View(context)
        view.visibility = View.INVISIBLE
        view.visibility = View.GONE
        return AdditionalSystemViewContainer(
            WindowManagerWrapper(
                context.getSystemService<WindowManager>(WindowManager::class.java)
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ internal class AppHandleViewHolder(
        }
        // Remove the old input layer when changing to a new one.
        if (statusBarInputLayer != null) detachStatusBarInputLayer()
        if (statusBarLayer.view.visibility == View.INVISIBLE) {
        if (statusBarLayer.view.visibility == View.GONE) {
            statusBarLayer.view.visibility = View.VISIBLE
        }
        statusBarInputLayer = statusBarLayer