27 lines
823 B
Java
27 lines
823 B
Java
package o;
|
|
|
|
import android.view.View;
|
|
import android.view.ViewParent;
|
|
import android.view.inputmethod.EditorInfo;
|
|
import android.view.inputmethod.InputConnection;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class Opp {
|
|
public static InputConnection go_(InputConnection inputConnection, EditorInfo editorInfo, View view) {
|
|
if (inputConnection != null && editorInfo.hintText == null) {
|
|
ViewParent parent = view.getParent();
|
|
while (true) {
|
|
if (!(parent instanceof View)) {
|
|
break;
|
|
}
|
|
if (parent instanceof SNN) {
|
|
editorInfo.hintText = ((SNN) parent).a();
|
|
break;
|
|
}
|
|
parent = parent.getParent();
|
|
}
|
|
}
|
|
return inputConnection;
|
|
}
|
|
}
|