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

Commit aeb9ab5f authored by David Christie's avatar David Christie
Browse files

Increase timeout on marking a location provider as disabled

-Prevents churn in sending out disabled/enabled callbacks when there's
 a temporary glitch in reconnecting or switching providers.

Bug: 322713673
Test: manual
Change-Id: I568a208deb9d4202f8629a2e11d72bd994c6d466
parent 17614b6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ public class ProxyLocationProvider extends AbstractLocationProvider implements
    private static final String EXTRA_LOCATION_TAGS = "android:location_allow_listed_tags";
    private static final String LOCATION_TAGS_SEPARATOR = ";";

    private static final long RESET_DELAY_MS = 1000;
    private static final long RESET_DELAY_MS = 10000;

    /**
     * Creates and registers this proxy. If no suitable service is available for the proxy, returns