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

Commit f460c224 authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Reset extension fallback default value

The camera extension fallback is currently not used
so we can skip some amount of IPC by disabling this
functionality by default.

Flag: EXEMPT bugfix
Bug: 418699020
Test: Manual using camera and Settings applications,
Camera CTS

Change-Id: I3d94cc3e471a5380a8a4e1ef3c18061a611cf3c4
parent 733a34c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -464,7 +464,7 @@ public final class CameraExtensionCharacteristics {
            // Check if user enabled fallback impl
            ContentResolver resolver = ctx.getContentResolver();
            int userEnabled = Settings.Secure.getInt(resolver,
                    Settings.Secure.CAMERA_EXTENSIONS_FALLBACK, 1);
                    Settings.Secure.CAMERA_EXTENSIONS_FALLBACK, 0);

            boolean vendorImpl = true;
            if (ret && (mConnectionManager.getProxy(extension) != null) && (userEnabled == 1)) {