Enhance contrast ratio for factory reset page
The current contrast ratio is lower than 4.5. Update the background color to fix it. Fix: 379816159 Test: visual test Flag: EXEMPT bug fix Change-Id: I1f896b678903966de8bffd6a371c590337c091cb
This commit is contained in:
@@ -5271,7 +5271,7 @@
|
||||
android:permission="android.permission.MASTER_CLEAR"
|
||||
android:label="@string/main_clear_title"
|
||||
android:exported="true"
|
||||
android:theme="@style/SudThemeGlif.Light">
|
||||
android:theme="@style/SettingsSudThemeGlif.Light">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.settings.action.FACTORY_RESET"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
@@ -5285,7 +5285,7 @@
|
||||
<activity android:name="Settings$FactoryResetConfirmActivity"
|
||||
android:label="@string/main_clear_confirm_title"
|
||||
android:exported="false"
|
||||
android:theme="@style/SudThemeGlif.Light">
|
||||
android:theme="@style/SettingsSudThemeGlif.Light">
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
@@ -247,4 +247,8 @@
|
||||
<item name="colorPrimary">@*android:color/primary_device_default_settings_light</item>
|
||||
<item name="colorAccent">@*android:color/accent_device_default_light</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsSudThemeGlif.Light" parent="@style/SudThemeGlif.Light">
|
||||
<item name="android:background">@color/settingslib_materialColorSurfaceContainerLowest</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user