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

Commit 9bc5b6b4 authored by Sherry Zhou's avatar Sherry Zhou
Browse files

Fix no date & weather smartspace with large clock

Bug: 432725456
Test: manual test small clock and large clock with date & weather
Flag: com.android.systemui.scene_container

Change-Id: I1a067df7bc48683097873eef385edda47f0c7f94
parent c2a0f226
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,9 +20,9 @@ import android.util.DisplayMetrics
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.wrapContentSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.ui.Modifier
@@ -109,7 +109,7 @@ open class DefaultClockFaceLayout(val view: View) : ClockFaceLayout {
                context: LockscreenElementContext,
            ) {
                // TODO(b/418824686): Migrate stepping animation to compose
                clockView(view, Modifier.fillMaxSize().then(context.burnInModifier))
                clockView(view, Modifier.wrapContentSize().then(context.burnInModifier))
            }
        }