discord-jadx/app/src/main/java/z/d.java

33 lines
899 B
Java

package z;
import bolts.ExecutorException;
import java.util.concurrent.Executor;
/* compiled from: Task */
public class d implements c<TResult, Void> {
public final /* synthetic */ h a;
public final /* synthetic */ c b;
/* renamed from: c reason: collision with root package name */
public final /* synthetic */ Executor f2896c;
public d(g gVar, h hVar, c cVar, Executor executor) {
this.a = hVar;
this.b = cVar;
this.f2896c = executor;
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // z.c
public Void a(g gVar) throws Exception {
h hVar = this.a;
c cVar = this.b;
try {
this.f2896c.execute(new e(hVar, cVar, gVar));
return null;
} catch (Exception e) {
hVar.b(new ExecutorException(e));
return null;
}
}
}