Loading src/com/android/settings/DevelopmentSettings.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -706,8 +706,8 @@ public class DevelopmentSettings extends PreferenceFragment } } private void updateOverlayDisplayDevicesOptions() { private void updateOverlayDisplayDevicesOptions() { String value = Settings.System.getString(getActivity().getContentResolver(), String value = Settings.Global.getString(getActivity().getContentResolver(), Settings.Secure.OVERLAY_DISPLAY_DEVICES); Settings.Global.OVERLAY_DISPLAY_DEVICES); if (value == null) { if (value == null) { value = ""; value = ""; } } Loading @@ -725,8 +725,8 @@ public class DevelopmentSettings extends PreferenceFragment } } private void writeOverlayDisplayDevicesOptions(Object newValue) { private void writeOverlayDisplayDevicesOptions(Object newValue) { Settings.System.putString(getActivity().getContentResolver(), Settings.Global.putString(getActivity().getContentResolver(), Settings.Secure.OVERLAY_DISPLAY_DEVICES, (String)newValue); Settings.Global.OVERLAY_DISPLAY_DEVICES, (String)newValue); updateOverlayDisplayDevicesOptions(); updateOverlayDisplayDevicesOptions(); } } Loading Loading
src/com/android/settings/DevelopmentSettings.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -706,8 +706,8 @@ public class DevelopmentSettings extends PreferenceFragment } } private void updateOverlayDisplayDevicesOptions() { private void updateOverlayDisplayDevicesOptions() { String value = Settings.System.getString(getActivity().getContentResolver(), String value = Settings.Global.getString(getActivity().getContentResolver(), Settings.Secure.OVERLAY_DISPLAY_DEVICES); Settings.Global.OVERLAY_DISPLAY_DEVICES); if (value == null) { if (value == null) { value = ""; value = ""; } } Loading @@ -725,8 +725,8 @@ public class DevelopmentSettings extends PreferenceFragment } } private void writeOverlayDisplayDevicesOptions(Object newValue) { private void writeOverlayDisplayDevicesOptions(Object newValue) { Settings.System.putString(getActivity().getContentResolver(), Settings.Global.putString(getActivity().getContentResolver(), Settings.Secure.OVERLAY_DISPLAY_DEVICES, (String)newValue); Settings.Global.OVERLAY_DISPLAY_DEVICES, (String)newValue); updateOverlayDisplayDevicesOptions(); updateOverlayDisplayDevicesOptions(); } } Loading