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

Commit 19fdbfcf authored by Hubert Rzezniczak's avatar Hubert Rzezniczak
Browse files

ALOGE does not match triggering condition.



Meeting the condition
if (sceneModeOverrides.count !=
                availableSceneModes.count * kModesPerSceneMode) {
results with ALOGE which describes the missmatch.
The description does not match the condition.

Signed-off-by: default avatarHubert Rzezniczak <hubert.rzezniczak@gmail.com>
parent 3cce4937
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1040,7 +1040,7 @@ status_t Parameters::buildFastInfo() {
            ALOGE("%s: Camera %d: Scene mode override list is an "
                    "unexpected size: %zu (expected %zu)", __FUNCTION__,
                    cameraId, sceneModeOverrides.count,
                    availableSceneModes.count);
                    availableSceneModes.count * kModesPerSceneMode);
            return NO_INIT;
        }
        for (size_t i = 0; i < availableSceneModes.count; i++) {