Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fc1747d authored by Amos Bianchi's avatar Amos Bianchi
Browse files

Use constant for tethering connector poll interval.

A constant is defined but a literal is used instead.

Test: manual

Change-Id: I233e11af4e39a35d9a47e45066df994a9f547272
parent 0a3dfeb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
                }