- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
30 lines
878 B
Java
30 lines
878 B
Java
package androidx.work;
|
|
|
|
import androidx.lifecycle.LiveData;
|
|
import androidx.work.Operation;
|
|
import com.google.common.util.concurrent.ListenableFuture;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class OperationImpl implements Operation {
|
|
private final ListenableFuture future;
|
|
private final LiveData<Operation.State> state;
|
|
|
|
@Override // androidx.work.Operation
|
|
public ListenableFuture getResult() {
|
|
return this.future;
|
|
}
|
|
|
|
@Override // androidx.work.Operation
|
|
public LiveData<Operation.State> getState() {
|
|
return this.state;
|
|
}
|
|
|
|
public OperationImpl(LiveData<Operation.State> state, ListenableFuture future) {
|
|
Intrinsics.checkNotNullParameter(state, "state");
|
|
Intrinsics.checkNotNullParameter(future, "future");
|
|
this.state = state;
|
|
this.future = future;
|
|
}
|
|
}
|