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

Commit 3606740a authored by Prince's avatar Prince
Browse files

Preventing GH container from being focusable if bouncer is on screen

Fixes: 345675233
Test: Device Tested
Flag: NONE Accessbility fix
Change-Id: I276cd5b4642932717201c6cfc8f38a0e19bbcc2a
parent 98e41e8b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ import androidx.compose.ui.graphics.Brush
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.semantics.clearAndSetSemantics
import androidx.compose.ui.semantics.contentDescription
import androidx.compose.ui.semantics.disabled
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.unit.dp
import androidx.lifecycle.compose.collectAsStateWithLifecycle
@@ -242,7 +242,7 @@ private fun SceneScope.CommunalScene(
                    if (isFocusable) {
                        Modifier.focusable()
                    } else {
                        Modifier.semantics { contentDescription = "" }.clearAndSetSemantics {}
                        Modifier.semantics { disabled() }.clearAndSetSemantics {}
                    }
                )
    ) {
@@ -258,7 +258,7 @@ private fun SceneScope.CommunalScene(
                modifier =
                    modifier.focusable(isFocusable).semantics {
                        if (!isFocusable) {
                            contentDescription = ""
                            disabled()
                        }
                    }
            )