what-the-bank/sources/o/tEh.java

33 lines
1.1 KiB
Java

package o;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
import androidx.core.view.WindowInsetsControllerCompat;
import com.google.android.material.search.SearchView;
/* loaded from: classes2.dex */
public final /* synthetic */ class tEh implements Runnable {
private SearchView c;
@Override // java.lang.Runnable
public final void run() {
WindowInsetsControllerCompat y;
SearchView searchView = this.c;
if (searchView.h.requestFocus()) {
searchView.h.sendAccessibilityEvent(8);
}
EditText editText = searchView.h;
if (searchView.w && (y = ViewCompat.y(editText)) != null) {
y.e(WindowInsetsCompat.jbe.e());
} else {
((InputMethodManager) nMh.getSystemService(editText.getContext(), InputMethodManager.class)).showSoftInput(editText, 1);
}
}
public /* synthetic */ tEh(SearchView searchView) {
this.c = searchView;
}
}