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

Commit fa4386a2 authored by Mohammad Saboorian's avatar Mohammad Saboorian Committed by Ivan Podogov
Browse files

Fix emulator.circular property name prefix

The boot properties need to have a ro.boot prefix now.

Bug: 231682099
Change-Id: I8f05796106c28f3580f104db62313aeb23a8673d
parent 85e066da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3326,7 +3326,7 @@
    <!-- default window ShowCircularMask property -->
    <bool name="config_windowShowCircularMask">false</bool>

    <!-- default value for whether circular emulators (ro.emulator.circular)
    <!-- default value for whether circular emulators (ro.boot.emulator.circular)
         should show a display overlay on the screen -->
    <bool name="config_windowEnableCircularEmulatorDisplayOverlay">false</bool>

+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ final class LocalDisplayAdapter extends DisplayAdapter {

    private static final String UNIQUE_ID_PREFIX = "local:";

    private static final String PROPERTY_EMULATOR_CIRCULAR = "ro.emulator.circular";
    private static final String PROPERTY_EMULATOR_CIRCULAR = "ro.boot.emulator.circular";

    private final LongSparseArray<LocalDisplayDevice> mDevices = new LongSparseArray<>();

+1 −1
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ public class WindowManagerService extends IWindowManager.Stub
    private static final String DENSITY_OVERRIDE = "ro.config.density_override";
    private static final String SIZE_OVERRIDE = "ro.config.size_override";

    private static final String PROPERTY_EMULATOR_CIRCULAR = "ro.emulator.circular";
    private static final String PROPERTY_EMULATOR_CIRCULAR = "ro.boot.emulator.circular";

    static final int MY_PID = myPid();
    static final int MY_UID = myUid();