package androidx.media3.session;

import android.os.Bundle;
import androidx.media3.session.MediaSession;
import androidx.media3.session.legacy.MediaBrowserServiceCompat;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class bo implements Runnable {
    public final /* synthetic */ int a = 2;
    public final /* synthetic */ MediaLibraryServiceLegacyStub b;
    public final /* synthetic */ String c;
    public final /* synthetic */ MediaSession.ControllerInfo d;
    public final /* synthetic */ MediaBrowserServiceCompat.Result e;
    public final /* synthetic */ Bundle f;

    public /* synthetic */ bo(MediaLibraryServiceLegacyStub mediaLibraryServiceLegacyStub, MediaSession.ControllerInfo controllerInfo, MediaBrowserServiceCompat.Result result, Bundle bundle, String str) {
        this.b = mediaLibraryServiceLegacyStub;
        this.d = controllerInfo;
        this.e = result;
        this.f = bundle;
        this.c = str;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.a) {
            case 0:
                this.b.lambda$onSearch$5(this.d, this.e, this.c, this.f);
                break;
            case 1:
                MediaBrowserServiceCompat.Result result = this.e;
                Bundle bundle = this.f;
                this.b.lambda$onCustomAction$6(this.c, this.d, result, bundle);
                break;
            default:
                this.b.lambda$onLoadChildren$3(this.d, this.e, this.f, this.c);
                break;
        }
    }

    public /* synthetic */ bo(MediaLibraryServiceLegacyStub mediaLibraryServiceLegacyStub, MediaSession.ControllerInfo controllerInfo, MediaBrowserServiceCompat.Result result, String str, Bundle bundle) {
        this.b = mediaLibraryServiceLegacyStub;
        this.d = controllerInfo;
        this.e = result;
        this.c = str;
        this.f = bundle;
    }

    public /* synthetic */ bo(MediaLibraryServiceLegacyStub mediaLibraryServiceLegacyStub, String str, MediaSession.ControllerInfo controllerInfo, MediaBrowserServiceCompat.Result result, Bundle bundle) {
        this.b = mediaLibraryServiceLegacyStub;
        this.c = str;
        this.d = controllerInfo;
        this.e = result;
        this.f = bundle;
    }
}
