what-the-bank/sources/o/AbstractRunnableC16156liu.java

37 lines
955 B
Java

package o;
import com.google.android.gms.tasks.TaskCompletionSource;
/* renamed from: o.liu, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public abstract class AbstractRunnableC16156liu implements Runnable {
public final TaskCompletionSource a;
protected abstract void e();
public void e(Exception exc) {
TaskCompletionSource taskCompletionSource = this.a;
if (taskCompletionSource != null) {
taskCompletionSource.trySetException(exc);
}
}
@Override // java.lang.Runnable
public final void run() {
try {
e();
} catch (Exception e) {
e(e);
}
}
public AbstractRunnableC16156liu(TaskCompletionSource taskCompletionSource) {
this.a = taskCompletionSource;
}
/* JADX INFO: Access modifiers changed from: package-private */
public AbstractRunnableC16156liu() {
this.a = null;
}
}