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

Commit 4e080a8f authored by Tianfan Zhang's avatar Tianfan Zhang
Browse files

Do not show attribution and adjust cue bar outline.

Bug: 419108176
Test: Atest NavBarPillScreenshotTest
Flag: com.android.systemui.enable_underlay
Change-Id: I45ed3d98709c7d3579a4f49fdce348ed60c71486
parent 9bbcffbe
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ fun NavBarPill(
                        .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 @@ fun NavBarPill(
                                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),
                                )
                            }
                        }
                    }
                }