feat(color correction): Disable slider when not applicable
We received feedback that slider should be disabled when it's not applicable, namely when it's off and when mode == gray scale. Bug: 351920992 Test: Locally tested + unit tests Flag: com.android.server.accessibility.enable_color_correction_saturation Change-Id: I1162a501a797a1d2b30da76f0c75e5fdea3f61d2
This commit is contained in:
@@ -5465,6 +5465,8 @@
|
||||
<string name="daltonizer_mode_grayscale_title">Grayscale</string>
|
||||
<!-- Title shown for settings that controls color correction saturation level [CHAR LIMIT=45] -->
|
||||
<string name="daltonizer_saturation_title">Intensity</string>
|
||||
<!-- The summary shown for settings that controls color correction intensity/saturation level. It is shown when intensity slider is grayed out and is not usable and it explains why it's not usable to the user. [CHAR LIMIT=NONE] -->
|
||||
<string name="daltonizer_saturation_unavailable_summary">Unavailable for grayscale mode or when color correction is disabled</string>
|
||||
<!-- Summary shown for deuteranomaly (red-green color blindness) [CHAR LIMIT=45] -->
|
||||
<string name="daltonizer_mode_deuteranomaly_summary">Green weak, deuteranomaly</string>
|
||||
<!-- Summary shown for protanomaly (red-green color blindness) [CHAR LIMIT=45] -->
|
||||
|
||||
Reference in New Issue
Block a user