* commit '7c6c12f8858720cf9b42451974b7253cc12b9a85': Access high contrast setting directly
This commit is contained in:
@@ -510,7 +510,8 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
|
||||
mToggleLargeTextPreference.setChecked(mCurConfig.fontScale == LARGE_FONT_SCALE);
|
||||
|
||||
mToggleHighTextContrastPreference.setChecked(
|
||||
AccessibilityManager.getInstance(getActivity()).isHighTextContrastEnabled());
|
||||
Settings.Secure.getInt(getContentResolver(),
|
||||
Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 0) == 1);
|
||||
|
||||
// Power button ends calls.
|
||||
if (KeyCharacterMap.deviceHasKey(KeyEvent.KEYCODE_POWER)
|
||||
|
Reference in New Issue
Block a user