package com.adif.elcanomovil.observers;

import com.adif.elcanomovil.domain.usecases.FetchVersionUpdateUseCase;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u000e\u0010\u0005\u001a\u00020\u0006H\u0096@¢\u0006\u0002\u0010\u0007R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\b"}, d2 = {"Lcom/adif/elcanomovil/observers/RemoteConfigurationObserver;", "Lcom/adif/elcanomovil/observers/ApplicationObserver;", "fetchVersionUpdateUseCase", "Lcom/adif/elcanomovil/domain/usecases/FetchVersionUpdateUseCase;", "(Lcom/adif/elcanomovil/domain/usecases/FetchVersionUpdateUseCase;)V", "start", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "app_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class RemoteConfigurationObserver implements ApplicationObserver {
    private final FetchVersionUpdateUseCase fetchVersionUpdateUseCase;

    public RemoteConfigurationObserver(FetchVersionUpdateUseCase fetchVersionUpdateUseCase) {
        Intrinsics.checkNotNullParameter(fetchVersionUpdateUseCase, "fetchVersionUpdateUseCase");
        this.fetchVersionUpdateUseCase = fetchVersionUpdateUseCase;
    }

    @Override // com.adif.elcanomovil.observers.ApplicationObserver
    public Object start(Continuation<? super Unit> continuation) {
        Object invoke = this.fetchVersionUpdateUseCase.invoke(continuation);
        return invoke == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? invoke : Unit.INSTANCE;
    }
}
