package o;

import android.app.Notification;
import android.content.Intent;
import android.graphics.Typeface;
import android.view.View;
import android.widget.TextView;
import androidx.work.impl.foreground.SystemForegroundService;
import com.google.android.material.bottomsheet.BottomSheetBehavior;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.w8, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class RunnableC2786w8 implements Runnable {
    public final /* synthetic */ int l;
    public final int m;
    public final Object n;

    /* renamed from: o, reason: collision with root package name */
    public final Object f767o;

    public /* synthetic */ RunnableC2786w8(int i, int i2, Object obj, Object obj2) {
        this.l = i2;
        this.n = obj;
        this.f767o = obj2;
        this.m = i;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                ((TextView) this.n).setTypeface((Typeface) this.f767o, this.m);
                break;
            case 1:
                ((BottomSheetBehavior) this.f767o).E((View) this.n, this.m, false);
                break;
            case 2:
                ((C1205fc0) this.n).a((Intent) this.f767o, this.m);
                break;
            default:
                ((SystemForegroundService) this.f767o).p.notify(this.m, (Notification) this.n);
                break;
        }
    }

    public RunnableC2786w8(SystemForegroundService systemForegroundService, int i, Notification notification) {
        this.l = 3;
        this.f767o = systemForegroundService;
        this.m = i;
        this.n = notification;
    }

    public RunnableC2786w8(BottomSheetBehavior bottomSheetBehavior, View view, int i) {
        this.l = 1;
        this.f767o = bottomSheetBehavior;
        this.n = view;
        this.m = i;
    }
}
