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

Commit 345b26d5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Camera: Fix camera id equal check" into main am: 237b6c21

parents 88854a8e 237b6c21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -918,7 +918,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!");
                }
            }