You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
931 B
28 lines
931 B
package p028j;
|
|
|
|
import android.view.View;
|
|
import android.view.ViewParent;
|
|
import android.view.inputmethod.EditorInfo;
|
|
import android.view.inputmethod.InputConnection;
|
|
|
|
/* renamed from: j.n */
|
|
/* loaded from: classes.dex */
|
|
public class C1158n {
|
|
/* renamed from: a */
|
|
public static InputConnection m2004a(InputConnection inputConnection, EditorInfo editorInfo, View view) {
|
|
if (inputConnection != null && editorInfo.hintText == null) {
|
|
ViewParent parent = view.getParent();
|
|
while (true) {
|
|
if (!(parent instanceof View)) {
|
|
break;
|
|
} else if (parent instanceof InterfaceC1192r3) {
|
|
editorInfo.hintText = ((InterfaceC1192r3) parent).m1894a();
|
|
break;
|
|
} else {
|
|
parent = parent.getParent();
|
|
}
|
|
}
|
|
}
|
|
return inputConnection;
|
|
}
|
|
} |