Do not show attribution and adjust cue bar outline.
Bug: 419108176
Test: Atest NavBarPillScreenshotTest
Flag: com.android.systemui.enable_underlay
Change-Id: I45ed3d98709c7d3579a4f49fdce348ed60c71486
diff --git a/packages/SystemUI/compose/features/src/com/android/systemui/ambientcue/ui/compose/NavBarPill.kt b/packages/SystemUI/compose/features/src/com/android/systemui/ambientcue/ui/compose/NavBarPill.kt
index 2ee931e..3e60a8f 100644
--- a/packages/SystemUI/compose/features/src/com/android/systemui/ambientcue/ui/compose/NavBarPill.kt
+++ b/packages/SystemUI/compose/features/src/com/android/systemui/ambientcue/ui/compose/NavBarPill.kt
@@ -119,7 +119,7 @@
.widthIn(min = navBarWidth, max = maxPillWidth)
.background(backgroundColor)
.animatedActionBorder(
- strokeWidth = 2.dp,
+ strokeWidth = 1.dp,
strokeColor = outlineColor,
cornerRadius = 16.dp,
visible = visible,
@@ -156,16 +156,6 @@
color = outlineColor,
modifier = Modifier.widthIn(0.dp, maxPillWidth * 0.5f),
)
- if (hasAttribution) {
- Text(
- text = action.attribution!!,
- style = MaterialTheme.typography.labelSmall,
- maxLines = 1,
- overflow = TextOverflow.Ellipsis,
- color = outlineColor,
- modifier = Modifier.padding(start = 4.dp).alpha(0.4f),
- )
- }
}
}
}