package androidx.media3.session;

import androidx.media3.session.MediaSession;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class bu implements Runnable {
    public final /* synthetic */ int a = 0;
    public final /* synthetic */ boolean b;
    public final /* synthetic */ Object c;
    public final /* synthetic */ Object d;
    public final /* synthetic */ Object e;

    public /* synthetic */ bu(MediaNotificationManager mediaNotificationManager, MediaSession mediaSession, MediaNotification mediaNotification, boolean z) {
        this.c = mediaNotificationManager;
        this.d = mediaSession;
        this.e = mediaNotification;
        this.b = z;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.a) {
            case 0:
                ((MediaNotificationManager) this.c).lambda$updateNotification$6((MediaSession) this.d, (MediaNotification) this.e, this.b);
                break;
            default:
                ((MediaSessionImpl) this.c).lambda$applyMediaButtonKeyEvent$34(this.b, (MediaSession.ControllerInfo) this.d, (Runnable) this.e);
                break;
        }
    }

    public /* synthetic */ bu(MediaSessionImpl mediaSessionImpl, boolean z, MediaSession.ControllerInfo controllerInfo, Runnable runnable) {
        this.c = mediaSessionImpl;
        this.b = z;
        this.d = controllerInfo;
        this.e = runnable;
    }
}
