[cr137] [Android] Ignore new incognito resources

We have our own design for private tab, so these resources are not needed.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/ace95981aae5bdb2c6a54f700f8ae260eb7bf444

Create span focus background for link text in TextViewWithClickableSpans

- Create focus background drawable for ClickableSpan present in
TextViewWithClickableSpans
- Create a new style for use by incognito TextViewWithClickableSpans'
with attributes like app:leading and a new app:spanBackgroundStrokeColor
- Enforce IncognitoDescriptionView's TextViewWithClickableSpans' to use
the same color for the clickable span text and background.
- Resolve and apply the span background stroke color to the drawable
in TextViewWithClickableSpans

These updates are preparation for drawing the focused span background
per https://chromium-review.googlesource.com/c/chromium/src/+/6457628.

Bug: 396665628, 405441323
This commit is contained in:
Artem Samoilenko
2025-05-13 15:53:09 -04:00
committed by Max Karolinskiy
parent 9c4c5a701a
commit a145a25b3e
@@ -41,6 +41,9 @@
<ignore regexp="The resource `R.string.search_widget_title` appears to be unused"/>
<ignore regexp="The resource `R.xml.search_widget_info` appears to be unused"/>
<ignore regexp="The resource `R.drawable.widget_preview` appears to be unused"/>
<ignore regexp="The resource `R.style.IncognitoTextViewWithClickableSpans` appears to be unused"/>
<ignore regexp="The resource `R.style.IncognitoNewTabLearnMoreLinkModernTextView` appears to be unused"/>
<ignore regexp="The resource `R.style.IncognitoNewTabTextView` appears to be unused"/>
</issue>
<issue id="UnsafeOptInUsageError">
<ignore regexp='(markerClass = androidx.media3.common.util.UnstableApi.class)' />