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

Commit 14fd3a1e authored by Zhijun He's avatar Zhijun He Committed by Android (Google) Code Review
Browse files

Merge "Camera3Device: fix dereferencing null pointer crash" into nyc-dev

parents 6f8975dd 431503c1
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -534,9 +534,11 @@ status_t Camera3Device::dump(int fd, const Vector<String16> &args) {
        mOutputStreams[i]->dump(fd,args);
    }

    if (mBufferManager != NULL) {
        lines = String8("    Camera3 Buffer Manager:\n");
        write(fd, lines.string(), lines.size());
        mBufferManager->dump(fd, args);
    }

    lines = String8("    In-flight requests:\n");
    if (mInFlightMap.size() == 0) {