discord-jadx/app/src/main/java/i0/o.java
Juby210 02b39b5eaf
Enable replacing const values in jadx
Tracking changes should be much easier now.
2021-08-10 00:50:52 +02:00

34 lines
1.2 KiB
Java

package i0;
import androidx.core.app.NotificationCompat;
import d0.k;
import d0.l;
import d0.z.d.m;
import kotlinx.coroutines.CancellableContinuation;
import retrofit2.Response;
/* compiled from: KotlinExtensions.kt */
public final class o implements f<T> {
public final /* synthetic */ CancellableContinuation a;
public o(CancellableContinuation cancellableContinuation) {
this.a = cancellableContinuation;
}
@Override // i0.f
public void a(d<T> dVar, Throwable th) {
m.checkParameterIsNotNull(dVar, NotificationCompat.CATEGORY_CALL);
m.checkParameterIsNotNull(th, "t");
CancellableContinuation cancellableContinuation = this.a;
k.a aVar = k.i;
cancellableContinuation.resumeWith(k.m75constructorimpl(l.createFailure(th)));
}
@Override // i0.f
public void b(d<T> dVar, Response<T> response) {
m.checkParameterIsNotNull(dVar, NotificationCompat.CATEGORY_CALL);
m.checkParameterIsNotNull(response, "response");
CancellableContinuation cancellableContinuation = this.a;
k.a aVar = k.i;
cancellableContinuation.resumeWith(k.m75constructorimpl(response));
}
}