summaryrefslogtreecommitdiffstats
path: root/services/accessibility/java
diff options
context:
space:
mode:
Diffstat (limited to 'services/accessibility/java')
-rw-r--r--services/accessibility/java/com/android/server/accessibility/DisplayAdjustmentUtils.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/services/accessibility/java/com/android/server/accessibility/DisplayAdjustmentUtils.java b/services/accessibility/java/com/android/server/accessibility/DisplayAdjustmentUtils.java
index ab8eacf..1b4182d 100644
--- a/services/accessibility/java/com/android/server/accessibility/DisplayAdjustmentUtils.java
+++ b/services/accessibility/java/com/android/server/accessibility/DisplayAdjustmentUtils.java
@@ -26,6 +26,7 @@ import android.os.ServiceManager;
import android.provider.Settings;
import android.util.Slog;
import android.view.accessibility.AccessibilityManager;
+import cyanogenmod.providers.CMSettings;
/**
* Utility methods for performing accessibility display adjustments.
@@ -76,8 +77,8 @@ public class DisplayAdjustmentUtils {
return true;
}
- if (Settings.Secure.getStringForUser(cr,
- Settings.Secure.LIVE_DISPLAY_COLOR_MATRIX, userId) != null) {
+ if (CMSettings.Secure.getStringForUser(cr,
+ CMSettings.Secure.LIVE_DISPLAY_COLOR_MATRIX, userId) != null) {
return true;
}
@@ -96,8 +97,8 @@ public class DisplayAdjustmentUtils {
colorMatrix = multiply(colorMatrix, INVERSION_MATRIX_VALUE_ONLY);
}
- String adj = Settings.Secure.getStringForUser(cr,
- Settings.Secure.LIVE_DISPLAY_COLOR_MATRIX, userId);
+ String adj = CMSettings.Secure.getStringForUser(cr,
+ CMSettings.Secure.LIVE_DISPLAY_COLOR_MATRIX, userId);
if (adj != null) {
String[] tmp = adj.split(" ");
if (tmp.length == 16) {