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

Commit 89423458 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix tile not clickable by TalkBack and VoiceAccess" into main

parents 5cd7b27c 055bea30
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -784,7 +784,11 @@ constructor(

    private fun updateLongPressEffect(handlesLongClick: Boolean) {
        // The long press effect in the tile can't be updated if it is still running
        if (longPressEffect?.state != QSLongPressEffect.State.IDLE) return
        if (
            longPressEffect?.state != QSLongPressEffect.State.IDLE &&
                longPressEffect?.state != QSLongPressEffect.State.CLICKED
        )
            return

        longPressEffect.qsTile?.state?.handlesLongClick = handlesLongClick
        if (handlesLongClick && longPressEffect.initializeEffect(longPressEffectDuration)) {