18 lines
497 B
Java
18 lines
497 B
Java
|
package com.google.android.gms.common.api;
|
||
|
|
||
|
import com.google.android.gms.common.api.Result;
|
||
|
import com.google.android.gms.common.api.internal.zacp;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class ResultTransform<R extends Result, S extends Result> {
|
||
|
public final PendingResult<S> createFailedResult(Status status) {
|
||
|
return new zacp(status);
|
||
|
}
|
||
|
|
||
|
public Status onFailure(Status status) {
|
||
|
return status;
|
||
|
}
|
||
|
|
||
|
public abstract PendingResult<S> onSuccess(R r);
|
||
|
}
|