Don't dismiss IME when changing active RemoteInput
Fixes: 189468877 Test: manual, atest Change-Id: Iec8fe2d0dc309d62147061086069e5bf5b87abdf
This commit is contained in:
@@ -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