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

Commit 7e23b715 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 am: 24048d59

am: 7a1c0543

Change-Id: Id51e152b121193d19219ac5cc4be59be86e37fcd
parents 78cbdfa7 7a1c0543
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;