From fd1a98ce335134ee4e565a489f464d9cc63a1eb9 Mon Sep 17 00:00:00 2001 From: Miranda Kephart Date: Tue, 19 Jul 2022 13:30:14 -0400 Subject: [PATCH] Make URLSpans the same color as regular text in the clipboard overlay URLSpan link colors are defaulted to invisible, so copying certain types of text (e.g. emails in Gmail) makes them not show up. Bug: 238715583 Fix: 238715583 Test: manual, copied the email links in gmail (as in the screenshot in the bug) and verified that they were visible Change-Id: I0c74849289ff18146490054eea7a3c9ddc5efc9c --- packages/SystemUI/res/layout/clipboard_overlay.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/res/layout/clipboard_overlay.xml b/packages/SystemUI/res/layout/clipboard_overlay.xml index 99a5a2e904f61..1a1fc75a41a1a 100644 --- a/packages/SystemUI/res/layout/clipboard_overlay.xml +++ b/packages/SystemUI/res/layout/clipboard_overlay.xml @@ -115,6 +115,7 @@ android:autoSizeMinTextSize="@dimen/clipboard_overlay_min_font" android:autoSizeMaxTextSize="@dimen/clipboard_overlay_max_font" android:textColor="?attr/overlayButtonTextColor" + android:textColorLink="?attr/overlayButtonTextColor" android:background="?androidprv:attr/colorAccentSecondary" android:layout_width="@dimen/clipboard_preview_size" android:layout_height="@dimen/clipboard_preview_size"/>