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

Commit a07db4ad authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[flexiglass] Makes Gone scene empty.

Removes the pesky "Gone" label that was showing in the middle of the
screen during transitions to Gone.

Fix: 297396601
Test: manually verified that I can no longer see the "Gone" label when
transitioning in and out of the Gone scene.

Change-Id: I14914db554edec0054fa16e13ded76e24aa97816
parent f53802eb
Loading
Loading
Loading
Loading
+1 −16
Original line number Original line Diff line number Diff line
@@ -17,11 +17,7 @@
package com.android.systemui.scene.ui.composable
package com.android.systemui.scene.ui.composable


import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.Modifier
import com.android.compose.animation.scene.SceneScope
import com.android.compose.animation.scene.SceneScope
import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.dagger.SysUISingleton
@@ -54,17 +50,6 @@ class GoneScene @Inject constructor() : ComposableScene {
    override fun SceneScope.Content(
    override fun SceneScope.Content(
        modifier: Modifier,
        modifier: Modifier,
    ) {
    ) {
        /*
        Box(modifier = modifier)
         * TODO(b/279501596): once we start testing with the real Content Dynamics Framework,
         *  replace this with an error to make sure it doesn't get rendered.
         */
        Box(modifier = modifier) {
            Column(
                horizontalAlignment = Alignment.CenterHorizontally,
                modifier = Modifier.align(Alignment.Center)
            ) {
                Text("Gone", style = MaterialTheme.typography.headlineMedium)
            }
        }
    }
    }
}
}