Merge "Thread.sleep takes milliseconds, not seconds." am: b79bd2867f am: 81830b2d5f am: 629791842e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560108 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie06960dc37d80daebce68bf51e58b1b4cb7c6c0f
This commit is contained in:
@@ -498,7 +498,7 @@ public final class SystemServer implements Dumpable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Thread.sleep(checkInterval);
|
Thread.sleep(checkInterval * 1000);
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user