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

Commit 6e10faf0 authored by Bharatt Kukreja's avatar Bharatt Kukreja
Browse files

Add method to get autoframing override

Add a dummy implementation for getAutoframingOverride() method which is
used by CameraServiceProxy to fetch the autoframing system state.

Test: CTS tests continue to pass
Bug: 234004829
Change-Id: Ica619b3cfb90c090707c55c7e6bb77965060d0c8
parent e91a383c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -551,6 +551,15 @@ public class CameraServiceProxy extends SystemService
                    lensFacing, ignoreResizableAndSdkCheck);
        }

        /**
         * Placeholder method to fetch the system state for autoframing.
         * TODO: b/260617354
         */
        @Override
        public int getAutoframingOverride(String packageName) {
            return CaptureRequest.CONTROL_AUTOFRAMING_OFF;
        }

        @Override
        public void pingForUserUpdate() {
            if (Binder.getCallingUid() != Process.CAMERASERVER_UID) {