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

Commit 7ed5d5e7 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Call invalidate on screenshot view when insets change

Fixes bug when folding/unfolding device

Bug: 412900134
Flag: EXEMPT trivial change
Test: manual (visual change)
Change-Id: I821674d67161e63f7c0fd2e791768b8cee2a44c6
parent ed4d1708
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -102,7 +102,10 @@ constructor(context: Context, @Assisted private val display: Display) {
            clipChildren = false
            clipToPadding = false
            // ignore system bar insets for the purpose of window layout
            setOnApplyWindowInsetsListener { _, _ -> WindowInsets.CONSUMED }
            setOnApplyWindowInsetsListener { _, _ ->
                decorView.post { decorView.invalidate() }
                WindowInsets.CONSUMED
            }
        }
    }