am ddc21f5b: Dismiss all key preview before showing more suggestions
* commit 'ddc21f5bd1113c24840fd436d09de62c8e476335': Dismiss all key preview before showing more suggestionsmain
commit
eb41d64e99
|
@ -323,6 +323,9 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
// {@link MoreKeysKeyboardView}.
|
||||
// TODO: Remove unused null argument.
|
||||
mMainKeyboardView.onDismissMoreKeysPanel(null /* unused */);
|
||||
// Dismiss all key previews and sliding key input preview that may be being showed.
|
||||
mMainKeyboardView.dismissAllKeyPreviews();
|
||||
mMainKeyboardView.dismissSlidingKeyInputPreview();
|
||||
final int stripWidth = getWidth();
|
||||
final View container = mMoreSuggestionsContainer;
|
||||
final int maxWidth = stripWidth - container.getPaddingLeft() - container.getPaddingRight();
|
||||
|
|
Loading…
Reference in New Issue