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

Commit 5e387e90 authored by Hawkwood Glazier's avatar Hawkwood Glazier Committed by Automerger Merge Worker
Browse files

Merge "Force Software Rendering for KeyguardClockFrame" into udc-dev am: 999f9e45

parents f3de8396 999f9e45
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ class KeyguardClockFrame(
) : FrameLayout(context, attrs) {
    private var drawAlpha: Int = 255

    init {
        setLayerType(View.LAYER_TYPE_SOFTWARE, null)
    }

    protected override fun onSetAlpha(alpha: Int): Boolean {
        drawAlpha = alpha
        return true