From 075cb30d4ce12805f43ae71cee27b8f0cdbc0149 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Tue, 25 Sep 2012 15:21:40 -0700 Subject: Move OVERLAY_DISPLAY_DEVICES to Global. Bug: 7127417 Change-Id: I9ed62e98754eba8a6107a5cac00f00f83904852d --- src/com/android/settings/DevelopmentSettings.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 @@ public class DevelopmentSettings extends PreferenceFragment } 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 @@ public class DevelopmentSettings extends PreferenceFragment } 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(); } -- cgit v1.1