summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/accessibility/AccessibilitySettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/accessibility/AccessibilitySettings.java')
-rw-r--r--src/com/android/settings/accessibility/AccessibilitySettings.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/accessibility/AccessibilitySettings.java b/src/com/android/settings/accessibility/AccessibilitySettings.java
index f035d7b4c..d3f0466c6 100644
--- a/src/com/android/settings/accessibility/AccessibilitySettings.java
+++ b/src/com/android/settings/accessibility/AccessibilitySettings.java
@@ -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)