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

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

Merge "Log correct reason for camera connect failures"

parents 1081e9ac 0ccb13b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ sp<TCam> CameraBase<TCam, TCamTraits>::connect(int cameraId,
        c->mStatus = NO_ERROR;
    } else {
        ALOGW("An error occurred while connecting to camera %d: %s", cameraId,
                (cs != nullptr) ? "Service not available" : ret.toString8().string());
                (cs == nullptr) ? "Service not available" : ret.toString8().string());
        c.clear();
    }
    return c;