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

Commit 3206850a authored by Manjeet Rulhania's avatar Manjeet Rulhania Committed by Android (Google) Code Review
Browse files

Merge "Add debug log in UiAutomation" into main

parents 78949f74 111d1717
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1146,9 +1146,9 @@ public final class UiAutomation {
            executionStartTimeMillis = SystemClock.uptimeMillis();
            eventQueueStartIndex = mEventQueue.size();
        }
        if (DEBUG) {
            Log.d(LOG_TAG, "executeAndWaitForEvent: watchersCount=" + watchersDepth
                    + ", eventQueueStartIndex=" + eventQueueStartIndex);
        if (VERBOSE) {
            Log.v(LOG_TAG, "executeAndWaitForEvent starts at depth=" + watchersDepth + ", "
                    + "command=" + command + ", filter=" + filter + ", timeout=" + timeoutMillis);
        }

        try {
@@ -1199,6 +1199,9 @@ public final class UiAutomation {
                }
                mLock.notifyAll();
            }
            if (VERBOSE) {
                Log.v(LOG_TAG, "executeAndWaitForEvent ends at depth=" + watchersDepth);
            }
        }
    }