package o;

import androidx.appcompat.widget.Toolbar;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final /* synthetic */ class Lf0 implements Runnable {
    public final /* synthetic */ int l;
    public final /* synthetic */ Toolbar m;

    public /* synthetic */ Lf0(Toolbar toolbar, int i) {
        this.l = i;
        this.m = toolbar;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                Of0 of0 = this.m.a0;
                LO lo = of0 == null ? null : of0.m;
                if (lo != null) {
                    lo.collapseActionView();
                    break;
                }
                break;
            default:
                this.m.n();
                break;
        }
    }
}
