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

Commit d6211262 authored by Michał Brzeziński's avatar Michał Brzeziński Committed by Android (Google) Code Review
Browse files

Merge "Fixing sticky keys indicator position so it respects insets" into main

parents 6945c02b 4c750bbb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.app.Dialog
import android.content.Context
import android.view.Gravity
import android.view.Window
import android.view.WindowInsets
import android.view.WindowManager
import android.view.WindowManager.LayoutParams.FLAG_DIM_BEHIND
import android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
@@ -61,6 +62,9 @@ constructor(
        attributes =
            WindowManager.LayoutParams().apply {
                copyFrom(attributes)
                // needed because we're above system bars windows, see [TYPE_STATUS_BAR_SUB_PANEL]
                receiveInsetsIgnoringZOrder = true
                fitInsetsTypes = WindowInsets.Type.systemBars()
                title = "StickyKeysIndicator"
            }
    }