Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -586,7 +586,8 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); if (mShowImeOnInputConnection && inputConnection != null) { if (mShowImeOnInputConnection && inputConnection != null) { final InputMethodManager imm = InputMethodManager.getInstance(); final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); if (imm != null) { if (imm != null) { // onCreateInputConnection is called by InputMethodManager in the middle of // onCreateInputConnection is called by InputMethodManager in the middle of // setting up the connection to the IME; wait with requesting the IME until that // setting up the connection to the IME; wait with requesting the IME until that Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -586,7 +586,8 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); final InputConnection inputConnection = super.onCreateInputConnection(outAttrs); if (mShowImeOnInputConnection && inputConnection != null) { if (mShowImeOnInputConnection && inputConnection != null) { final InputMethodManager imm = InputMethodManager.getInstance(); final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); if (imm != null) { if (imm != null) { // onCreateInputConnection is called by InputMethodManager in the middle of // onCreateInputConnection is called by InputMethodManager in the middle of // setting up the connection to the IME; wait with requesting the IME until that // setting up the connection to the IME; wait with requesting the IME until that Loading