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

Commit 3045c4f5 authored by Ravneet Dhanjal's avatar Ravneet Dhanjal Committed by Android (Google) Code Review
Browse files

Merge "CameraService: Use intended iterator when getting remapped keys"

parents eb6bb5c4 58485909
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ void sendPartialCaptureResult(CaptureOutputStates& states,

    auto mapper = states.rotateAndCropMappers.find(states.cameraId.c_str());
    if (mapper != states.rotateAndCropMappers.end()) {
        const auto& remappedKeys = iter->second.getRemappedKeys();
        const auto& remappedKeys = mapper->second.getRemappedKeys();
        keysToRemove.insert(remappedKeys.begin(), remappedKeys.end());
    }