Revert "Add ability to show/hide Color Correction and Color Inversion."
This reverts commit f1346930bc.
Reason for revert: Moving logic elsewhere.
Change-Id: Ia07b3f4c33e0078e8f35c69d5ed51daf197ff165
This commit is contained in:
@@ -54,8 +54,6 @@
|
||||
<bool name="config_show_tts_settings_summary">false</bool>
|
||||
<bool name="config_show_pointer_speed">false</bool>
|
||||
<bool name="config_show_vibrate_input_devices">false</bool>
|
||||
<bool name="config_show_color_correction_preference">false</bool>
|
||||
<bool name="config_show_color_inversion_preference">false</bool>
|
||||
<bool name="config_show_system_update_settings">false</bool>
|
||||
<bool name="config_wifi_support_connected_mac_randomization">false</bool>
|
||||
<bool name="config_show_device_model">false</bool>
|
||||
|
||||
@@ -47,38 +47,4 @@ public class AccessibilitySettingsTest {
|
||||
|
||||
assertThat(keys).containsAllIn(niks);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testColorInversionPreference_byDefault_shouldBeShown() {
|
||||
final Preference preference = new Preference(mContext);
|
||||
mFragment.checkColorInversionVisibility(preference);
|
||||
|
||||
assertThat(mColorInversionPreferenceRemoved).isEqualTo(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Config(qualifiers = "mcc999")
|
||||
public void testColorInversionPreference_ifDisabled_shouldNotBeShown() {
|
||||
final Preference preference = new Preference(mContext);
|
||||
mFragment.checkColorInversionVisibility(preference);
|
||||
|
||||
assertThat(mColorInversionPreferenceRemoved).isEqualTo(true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testColorCorrectionPreference_byDefault_shouldBeShown() {
|
||||
final Preference preference = new Preference(mContext);
|
||||
mFragment.checkColorCorrectionVisibility(preference);
|
||||
|
||||
assertThat(mColorCorrectionPreferenceRemoved).isEqualTo(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Config(qualifiers = "mcc999")
|
||||
public void testColorCorrectionPreference_ifDisabled_shouldNotBeShown() {
|
||||
final Preference preference = new Preference(mContext);
|
||||
mFragment.checkColorCorrectionVisibility(preference);
|
||||
|
||||
assertThat(mColorCorrectionPreferenceRemoved).isEqualTo(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user