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

Commit 221395b7 authored by Emilian Peev's avatar Emilian Peev Committed by Ravneet Dhanjal
Browse files

Add camera extensions fallback setting

Add support for toggling software camera
extensions.

Bug: 297083874
Test: atest SettingsProviderTest
Change-Id: I463a4be61810daa82ac38a3173b38ca7e539e877
parent c6df9a13
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11829,6 +11829,12 @@ public final class Settings {
         */
        public static final String MEDIA_CONTROLS_LOCK_SCREEN = "media_controls_lock_screen";
        /**
         * Whether to enable camera extensions software fallback.
         * @hide
         */
        public static final String CAMERA_EXTENSIONS_FALLBACK = "camera_extensions_fallback";
        /**
         * Controls whether contextual suggestions can be shown in the media controls.
         * @hide
+1 −0
Original line number Diff line number Diff line
@@ -263,5 +263,6 @@ public class SecureSettings {
        Settings.Secure.EVEN_DIMMER_ACTIVATED,
        Settings.Secure.EVEN_DIMMER_MIN_NITS,
        Settings.Secure.STYLUS_POINTER_ICON_ENABLED,
        Settings.Secure.CAMERA_EXTENSIONS_FALLBACK
    };
}
+1 −0
Original line number Diff line number Diff line
@@ -417,5 +417,6 @@ public class SecureSettingsValidators {
        VALIDATORS.put(Secure.CREDENTIAL_SERVICE_PRIMARY, NULLABLE_COMPONENT_NAME_VALIDATOR);
        VALIDATORS.put(Secure.AUTOFILL_SERVICE, AUTOFILL_SERVICE_VALIDATOR);
        VALIDATORS.put(Secure.STYLUS_POINTER_ICON_ENABLED, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Secure.CAMERA_EXTENSIONS_FALLBACK, BOOLEAN_VALIDATOR);
    }
}