Merge "Don't dismiss IME when changing active RemoteInput" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3b5e4d2936
@@ -777,7 +777,8 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene
|
||||
mOnVisibilityChangedListener.accept(visibility == VISIBLE);
|
||||
// Hide soft-keyboard when the input view became invisible
|
||||
// (i.e. The notification shade collapsed by pressing the home key)
|
||||
if (visibility != VISIBLE && !mEditText.isVisibleToUser()) {
|
||||
if (visibility != VISIBLE && !mEditText.isVisibleToUser()
|
||||
&& !mController.isRemoteInputActive()) {
|
||||
mEditText.hideIme();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user