Tint suggestion icons
If the suggestion is marked as isIconTintable, tint the icon with
colorControlNormal.
Test: cd tests/robotests && mma
Bug: 62258845
Change-Id: I2a76181d9b8b4d9fbf496a8fc605cb762bba87c0
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b2a8dd1..2f42c8f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -812,6 +812,7 @@
android:resource="@string/wallpaper_suggestion_summary" />
<meta-data android:name="com.android.settings.dismiss"
android:value="3,7,30" />
+ <meta-data android:name="com.android.settings.icon_tintable" android:value="true" />
</activity>
<activity android:name=".support.NewDeviceIntroSuggestionActivity"
@@ -1461,6 +1462,8 @@
</intent-filter>
<meta-data android:name="com.android.settings.title"
android:resource="@string/vision_settings_suggestion_title" />
+ <meta-data android:name="com.android.settings.icon_tintable"
+ android:value="true" />
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.accessibility.AccessibilitySettingsForSetupWizard" />
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
@@ -1575,6 +1578,7 @@
android:resource="@string/notification_suggestion_title" />
<meta-data android:name="com.android.settings.summary"
android:resource="@string/notification_suggestion_summary" />
+ <meta-data android:name="com.android.settings.icon_tintable" android:value="true" />
</activity>
<activity android:name=".notification.RedactionInterstitial"
@@ -1682,6 +1686,7 @@
android:resource="@string/suggested_lock_settings_title" />
<meta-data android:name="com.android.settings.summary"
android:resource="@string/suggested_lock_settings_summary" />
+ <meta-data android:name="com.android.settings.icon_tintable" android:value="true" />
</activity>
<activity android:name=".Settings$FingerprintEnrollSuggestionActivity"