Merge "Move OVERLAY_DISPLAY_DEVICES to Global." into jb-mr1-dev
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java
index 705ce55..b6a2beb 100644
--- a/src/com/android/settings/DevelopmentSettings.java
+++ b/src/com/android/settings/DevelopmentSettings.java
@@ -706,8 +706,8 @@
}
private void updateOverlayDisplayDevicesOptions() {
- String value = Settings.System.getString(getActivity().getContentResolver(),
- Settings.Secure.OVERLAY_DISPLAY_DEVICES);
+ String value = Settings.Global.getString(getActivity().getContentResolver(),
+ Settings.Global.OVERLAY_DISPLAY_DEVICES);
if (value == null) {
value = "";
}
@@ -725,8 +725,8 @@
}
private void writeOverlayDisplayDevicesOptions(Object newValue) {
- Settings.System.putString(getActivity().getContentResolver(),
- Settings.Secure.OVERLAY_DISPLAY_DEVICES, (String)newValue);
+ Settings.Global.putString(getActivity().getContentResolver(),
+ Settings.Global.OVERLAY_DISPLAY_DEVICES, (String)newValue);
updateOverlayDisplayDevicesOptions();
}