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