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);
|
mOnVisibilityChangedListener.accept(visibility == VISIBLE);
|
||||||
// Hide soft-keyboard when the input view became invisible
|
// Hide soft-keyboard when the input view became invisible
|
||||||
// (i.e. The notification shade collapsed by pressing the home key)
|
// (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();
|
mEditText.hideIme();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user