package ii;

import java.util.concurrent.Executor;

/* loaded from: classes.dex */
class n implements Executor {

    /* renamed from: p, reason: collision with root package name */
    private final Executor f23298p;

    /* loaded from: classes.dex */
    static class a implements Runnable {

        /* renamed from: p, reason: collision with root package name */
        private final Runnable f23299p;

        a(Runnable runnable) {
            this.f23299p = runnable;
        }

        @Override // java.lang.Runnable
        public void run() {
            try {
                this.f23299p.run();
            } catch (Exception e10) {
                mi.a.c("Executor", "Background execution failure.", e10);
            }
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    public n(Executor executor) {
        this.f23298p = executor;
    }

    @Override // java.util.concurrent.Executor
    public void execute(Runnable runnable) {
        this.f23298p.execute(new a(runnable));
    }
}
