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

Commit 086e57f6 authored by Bharatt Kukreja's avatar Bharatt Kukreja
Browse files

Add active component dump in internalPauseAndWaitLocked

We have a case where there is an active component which is not becoming
idle. The logs simply contain "Component 2 not idle". Add better logging
to find out what component that is.

Bug: 241137777
Test: Only adding logs
Change-Id: Ia281a6d7ad9af6365fe423238642ffdba5ed8b57
parent ad0fe922
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1512,6 +1512,7 @@ status_t Camera3Device::internalPauseAndWaitLocked(nsecs_t maxExpectedDuration)
          maxExpectedDuration);
    status_t res = waitUntilStateThenRelock(/*active*/ false, maxExpectedDuration);
    if (res != OK) {
        mStatusTracker->dumpActiveComponents();
        SET_ERR_L("Can't idle device in %f seconds!",
                maxExpectedDuration/1e9);
    }