Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 075cb30d authored by Jeff Brown's avatar Jeff Brown
Browse files

Move OVERLAY_DISPLAY_DEVICES to Global.

Bug: 7127417
Change-Id: I9ed62e98754eba8a6107a5cac00f00f83904852d
parent 8bea3c3f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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();
    }