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

Commit 24048d59 authored by Tobias Lindskog's avatar Tobias Lindskog Committed by android-build-merger
Browse files

Merge "Log correct reason for camera connect failures"

am: b985e3c6

Change-Id: Iea90914d040db44c1e6615da9975ec8ef13c4e0b
parents 1081e9ac b985e3c6
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;