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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user