Use constant for tethering connector poll interval.

A constant is defined but a literal is used instead.

Test: manual

Change-Id: I233e11af4e39a35d9a47e45066df994a9f547272
This commit is contained in:
Amos Bianchi
2020-02-13 15:54:45 -08:00
parent 545995255d
commit 1faaf591dd

View File

@@ -212,7 +212,7 @@ public class TetheringManager {
new Thread(() -> {
while (true) {
try {
Thread.sleep(200);
Thread.sleep(CONNECTOR_POLL_INTERVAL_MILLIS);
} catch (InterruptedException e) {
// Not much to do here, the system needs to wait for the connector
}