package com.tencent.mm.plugin.label.ui.widget;

import android.view.inputmethod.InputMethodManager;
import com.tencent.matrix.trace.core.AppMethodBeat;

class InputClearablePreference$4 implements Runnable {
    final /* synthetic */ InputClearablePreference nJo;

    InputClearablePreference$4(InputClearablePreference inputClearablePreference) {
        this.nJo = inputClearablePreference;
    }

    public final void run() {
        AppMethodBeat.i(22706);
        if (InputClearablePreference.b(this.nJo) != null) {
            InputMethodManager inputMethodManager = (InputMethodManager) InputClearablePreference.b(this.nJo).getContext().getSystemService("input_method");
            InputClearablePreference.b(this.nJo).requestFocus();
            inputMethodManager.showSoftInput(InputClearablePreference.b(this.nJo), 0);
            InputClearablePreference.b(this.nJo).setCursorVisible(false);
            InputClearablePreference.b(this.nJo).setCursorVisible(true);
        }
        AppMethodBeat.o(22706);
    }
}
