36 lines
910 B
Java
36 lines
910 B
Java
package c.i.a.b.j;
|
|
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
import java.util.concurrent.Executor;
|
|
/* compiled from: SafeLoggingExecutor */
|
|
public class h implements Executor {
|
|
public final Executor i;
|
|
|
|
/* compiled from: SafeLoggingExecutor */
|
|
public static class a implements Runnable {
|
|
public final Runnable i;
|
|
|
|
public a(Runnable runnable) {
|
|
this.i = runnable;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
try {
|
|
this.i.run();
|
|
} catch (Exception e) {
|
|
AnimatableValueParser.e0("Executor", "Background execution failure.", e);
|
|
}
|
|
}
|
|
}
|
|
|
|
public h(Executor executor) {
|
|
this.i = executor;
|
|
}
|
|
|
|
@Override // java.util.concurrent.Executor
|
|
public void execute(Runnable runnable) {
|
|
this.i.execute(new a(runnable));
|
|
}
|
|
}
|