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

Commit 6aded48c authored by Ravneet Dhanjal's avatar Ravneet Dhanjal Committed by Android (Google) Code Review
Browse files

Merge "Add thread id to error log for Camera Watchdog"

parents 1a5246e5 ce580c4e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -41,7 +41,8 @@ bool CameraServiceWatchdog::threadLoop()
            tidToCycleCounterMap[currentThreadId]++;

            if (tidToCycleCounterMap[currentThreadId] >= mMaxCycles) {
                ALOGW("CameraServiceWatchdog triggering abort for pid: %d", getpid());
                ALOGW("CameraServiceWatchdog triggering abort for pid: %d tid: %d", getpid(),
                        currentThreadId);
                // We use abort here so we can get a tombstone for better
                // debugging.
                abort();