Fix inverted ANR log message

To avoid misunderstanding while checking the log.

Bug: 143573504
Test: CtsAppTestCases:ActivityManagerTest#testAppNotResponding
Change-Id: I162aab785cd83db5db6cb33279f0b4ab0a458e94
This commit is contained in:
Riddle Hsu
2020-04-09 02:26:58 +08:00
parent 9c50a64e91
commit 4cd3e2f25f

View File

@@ -98,7 +98,7 @@ class AnrHelper {
final long endTime = SystemClock.uptimeMillis();
Slog.d(TAG, "Completed ANR of " + r.mApp.processName + " in "
+ (endTime - startTime) + "ms, latency " + reportLatency
+ (onlyDumpSelf ? "ms" : "ms (expired, only dump ANR app)"));
+ (onlyDumpSelf ? "ms (expired, only dump ANR app)" : "ms"));
}
mRunning.set(false);