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

Commit df937a0d authored by Neil Fuller's avatar Neil Fuller Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13496210

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia01d20daf14c26b235bd45226815687cc6fc0a93
parents ba26e4a4 13684270
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;