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

Commit 07102086 authored by Prince Donkor's avatar Prince Donkor Committed by Android (Google) Code Review
Browse files

Merge "Preventing GH container from being focusable if bouncer is on screen" into main

parents 4b6aebb5 3606740a
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
@@ -243,7 +243,7 @@ private fun SceneScope.CommunalScene(
                    if (isFocusable) {
                        Modifier.focusable()
                    } else {
                        Modifier.semantics { contentDescription = "" }.clearAndSetSemantics {}
                        Modifier.semantics { disabled() }.clearAndSetSemantics {}
                    }
                )
    ) {
@@ -259,7 +259,7 @@ private fun SceneScope.CommunalScene(
                modifier =
                    modifier.focusable(isFocusable).semantics {
                        if (!isFocusable) {
                            contentDescription = ""
                            disabled()
                        }
                    }
            )