Thread.sleep takes milliseconds, not seconds.

Test: treehugger
Change-Id: I822937ecd7778f0b9cf2fd22d281ace195f7cb56
This commit is contained in:
Josh Gao
2021-01-25 18:30:34 -08:00
parent f9095c3bc7
commit e8575f53f8

View File

@@ -457,7 +457,7 @@ public final class SystemServer {
}
try {
Thread.sleep(checkInterval);
Thread.sleep(checkInterval * 1000);
} catch (InterruptedException ex) {
continue;
}