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

Commit ac4b1d33 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

am: 7e23b715

Change-Id: I4992ce1db1d01e1f36287ae988ca3105558f474c
parents 1269c222 7e23b715
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;