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

Commit e8fdbae4 authored by Alex Ray's avatar Alex Ray
Browse files

camera2/3: Warn on missing active array size parameters

Change-Id: I752659e1f0522392b902839cd7f4d997dcd85966
parent 30755ddf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -842,6 +842,8 @@ status_t Parameters::buildFastInfo() {
    int32_t arrayWidth;
    int32_t arrayHeight;
    if (activeArraySize.count == 2) {
        ALOGW("%s: Camera %d: activeArraySize is missing xmin/ymin!",
                __FUNCTION__, cameraId);
        arrayWidth = activeArraySize.data.i32[0];
        arrayHeight = activeArraySize.data.i32[1];
    } else if (activeArraySize.count == 4) {