package o;

import android.view.View;
import android.view.inputmethod.InputMethodManager;

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

    public /* synthetic */ N90(View view, int i) {
        this.l = i;
        this.m = view;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                View view = this.m;
                ((InputMethodManager) view.getContext().getSystemService("input_method")).showSoftInput(view, 0);
                break;
            default:
                View view2 = this.m;
                ((InputMethodManager) view2.getContext().getSystemService(InputMethodManager.class)).showSoftInput(view2, 1);
                break;
        }
    }
}
