summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2024-06-25 15:49:40 -0700
committer Alejandro Nijamkin <nijamkin@google.com> 2024-06-25 15:49:40 -0700
commit253553e5037e86fba24436cce7930b451c8ad4b1 (patch)
tree76633dba8b6ffa06401461f3610e679e92a179f3
parente3f0f7c6df8168059c8e558670c35bfb7a8d31bd (diff)
[flexiglass] Bouncer scene cannot be occluded
When an occluding activity is shown on top of the lockscreen (for example the camera app through double-tap power button) and then something shows the bouncer, the bouncer scene should be shown on top of the occluding activity. To make that happens, we make the bouncer scene be considered as a scene that can't be occluded. Fix: 349438272 Test: added unit tests expanded Test: manually verified that tapping on the lock icon in the camera app correctly shows the bouncer Flag: com.android.systemui.scene_container Change-Id: Ia1f68dc19e8a7a20f137ba76229ebdd1e08b35a6
-rw-r--r--packages/SystemUI/src/com/android/systemui/scene/domain/interactor/SceneContainerOcclusionInteractor.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/SceneContainerOcclusionInteractor.kt b/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/SceneContainerOcclusionInteractor.kt
index 6bcd92316106..233e9b5bf818 100644
--- a/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/SceneContainerOcclusionInteractor.kt
+++ b/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/SceneContainerOcclusionInteractor.kt
@@ -121,7 +121,7 @@ constructor(
private val SceneKey.canBeOccluded: Boolean
get() =
when (this) {
- Scenes.Bouncer -> true
+ Scenes.Bouncer -> false
Scenes.Communal -> true
Scenes.Gone -> true
Scenes.Lockscreen -> true