Remove unnecessary null check in MyKeyboardView
This commit is contained in:
parent
3d96687c60
commit
f36216651f
|
@ -1637,8 +1637,6 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||||
|
|
||||||
@RequiresApi(Build.VERSION_CODES.R)
|
@RequiresApi(Build.VERSION_CODES.R)
|
||||||
fun clearClipboardViews() {
|
fun clearClipboardViews() {
|
||||||
if (mToolbarHolder?.autofill_suggestions_holder != null) {
|
mToolbarHolder?.autofill_suggestions_holder?.removeAllViews()
|
||||||
mToolbarHolder?.autofill_suggestions_holder?.removeAllViews()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue