Skip to content
Commit 0b05f9e4 authored by lumark's avatar lumark
Browse files

Add IMMS#showInputMethodPickerFromSystem.

Since the NavBar will be supported for multi-display, for
single session IME, it will be possible that IME switcher icon
will shown on external display.

Add IMMS#showInputMethodPickerFromSystem for system modules (i.e.
Settings or SystemUI) to pass displayId for creating right display
context, so that IME switcher dialog can shown on the display
correctly.

Also Add a TODO item for ACTION_SHOW_INPUT_METHOD_PICKER notification
that currently only support showing IME picker for default display,
this should support per display after supporting status bar per display.

Bug: 119933861
Fix: 120050928
Test: manual, verify IME switcher dialog can shown on external display
      when tapping IME switcher icon on external navbar.
Test: atest InputMethodManagerTest#testShowInputMethodPicker

Change-Id: Ic7d7c5a7ad8005a3fbd9d1c1b73e3c5a39a07001
parent fb1270ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment