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

Commit 13684270 authored by Neil Fuller's avatar Neil Fuller Committed by Android (Google) Code Review
Browse files

Merge "Reduce time spent waiting for a "dead" provider" into sc-dev

parents e89ad032 218acaf0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -33,9 +33,11 @@ import java.util.Objects;
 */
class ControllerEnvironmentImpl extends LocationTimeZoneProviderController.Environment {

    private static final Duration DEFAULT_PROVIDER_INITIALIZATION_TIMEOUT = Duration.ofMinutes(5);
    // TODO(b/179488561): Put this back to 5 minutes when primary provider is fully implemented
    private static final Duration DEFAULT_PROVIDER_INITIALIZATION_TIMEOUT = Duration.ofMinutes(1);
    // TODO(b/179488561): Put this back to 5 minutes when primary provider is fully implemented
    private static final Duration DEFAULT_PROVIDER_INITIALIZATION_TIMEOUT_FUZZ =
            Duration.ofMinutes(1);
            Duration.ofSeconds(20);
    private static final Duration DEFAULT_PROVIDER_UNCERTAINTY_DELAY = Duration.ofMinutes(5);

    @NonNull private final TimeZoneDetectorInternal mTimeZoneDetectorInternal;