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

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

Merge "Fix CameraHidlTest"

parents 8fe4685a ee1c028c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -450,7 +450,9 @@ Return<Status> LegacyCameraProviderImpl_2_4::setCallback(
        const sp<ICameraProviderCallback>& callback) {
    Mutex::Autolock _l(mCbLock);
    mCallbacks = callback;

    if (mCallbacks == nullptr) {
        return Status::OK;
    }
    // Add and report all presenting external cameras.
    for (auto const& statusPair : mCameraStatusMap) {
        int id = std::stoi(statusPair.first);