2021-12-17 22:01:24 +00:00
|
|
|
package b.a.f;
|
2021-07-24 02:37:17 +00:00
|
|
|
|
2021-08-18 07:29:27 +00:00
|
|
|
import android.annotation.SuppressLint;
|
|
|
|
import android.content.Context;
|
|
|
|
import android.view.inputmethod.EditorInfo;
|
|
|
|
import android.view.inputmethod.InputConnection;
|
|
|
|
import androidx.appcompat.widget.AppCompatEditText;
|
2021-11-01 07:19:03 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-18 07:29:27 +00:00
|
|
|
/* compiled from: ChipsEditText.kt */
|
|
|
|
@SuppressLint({"ViewConstructor"})
|
|
|
|
public final class d extends AppCompatEditText {
|
2021-12-17 22:01:24 +00:00
|
|
|
public final a j;
|
2021-07-24 02:37:17 +00:00
|
|
|
|
2021-08-18 07:29:27 +00:00
|
|
|
/* compiled from: ChipsEditText.kt */
|
|
|
|
public interface a {
|
|
|
|
InputConnection a(InputConnection inputConnection);
|
|
|
|
}
|
2021-07-24 02:37:17 +00:00
|
|
|
|
2021-08-18 07:29:27 +00:00
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public d(Context context, a aVar) {
|
|
|
|
super(context);
|
|
|
|
m.checkNotNullParameter(context, "context");
|
|
|
|
m.checkNotNullParameter(aVar, "mInputConnectionWrapperInterface");
|
2021-12-17 22:01:24 +00:00
|
|
|
this.j = aVar;
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
|
2021-08-18 07:29:27 +00:00
|
|
|
@Override // androidx.appcompat.widget.AppCompatEditText, android.widget.TextView, android.view.View
|
|
|
|
public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
|
|
|
|
m.checkNotNullParameter(editorInfo, "outAttrs");
|
2021-12-17 22:01:24 +00:00
|
|
|
return this.j.a(super.onCreateInputConnection(editorInfo));
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
}
|