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

Commit 237b6c21 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Camera: Fix camera id equal check" into main

parents 43d59c53 68dbf2de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -849,7 +849,7 @@ public class CameraDeviceImpl extends CameraDevice
            checkIfCameraClosedOrInError();

            for (String physicalId : physicalCameraIdSet) {
                if (physicalId == getId()) {
                if (Objects.equals(physicalId, getId())) {
                    throw new IllegalStateException("Physical id matches the logical id!");
                }
            }