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

Commit f44422ee authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: Fix initialization error when starting a traces"

parents 4234253e b0159483
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ void SurfaceTracing::traceLayers(const char* where) {

void SurfaceTracing::notify(const char* where) {
    std::lock_guard<std::mutex> sfLock(mFlinger.mDrawingStateLock);
    mWhere = strdup(where);
    mWhere = where;
    mConditionalVariable.notify_one();
}

+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ private:

    const SurfaceFlinger& mFlinger;

    char* mWhere;
    const char* mWhere = "";
    status_t mLastErr = NO_ERROR;
    std::thread mThread;
    std::condition_variable mConditionalVariable;