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

Commit 8949f5c0 authored by Lucas Silva's avatar Lucas Silva
Browse files

Add new setting for enabling screensavers while postured.

Postured is currently defined as the device being stationary and upright at an angle of 90-120 degrees relative to the ground

Test: N/A - adding the constant
Flag: EXEMPT constant is not yet used
Bug: 383208131
Change-Id: Ie0f9d29353a9d8fc4d66e64bf471a2ae771c870e
parent 98ac97eb
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -10524,6 +10524,15 @@ public final class Settings {
        @Readable
        public static final String SCREENSAVER_ACTIVATE_ON_SLEEP = "screensaver_activate_on_sleep";
        /**
         * If screensavers are enabled, whether the screensaver should be
         * automatically launched when the device is stationary and upright.
         * @hide
         */
        @Readable
        public static final String SCREENSAVER_ACTIVATE_ON_POSTURED =
                "screensaver_activate_on_postured";
        /**
         * If screensavers are enabled, the default screensaver component.
         * @hide