diff options
author | lumark <lumark@google.com> | 2019-05-04 12:22:15 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2019-05-06 22:12:55 +0800 |
commit | 51bc29ecf204da9553537bf188a16e8820a81dcb (patch) | |
tree | e3fe25872a52dbe4f19f930def57028f78e49667 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ccc7759b1c5da68224d3498a8496f96735a7f19a (diff) |
Fix IME window can't show on Simulated display
CL Icfd66689dad4b782c50b56a515194dd138d3b280 introduced
WindowManagerInternal#shouldShowIme for IMMS to check if the display can
show IME window, which just calling DisplayWindowSettings#shouldShowIme.
That will missed Simulated display use case & we should use WMS#shouldShowIme
since we have already implemented force desktop mode check for simulated
display with combined DisplayWindowSettings#shouldShowIme in above CL.
Correct the API usage to fix the issue.
Fix: 131921175
Fix: 129443632
Test: atest MultiDisplaySystemDecorationTests
Test: atest DisplayWindowSettingsTests#testShouldShowImeWithinForceDesktopMode
Test: manual as below steps:
1. adb shell settings put global force_desktop_mode_on_external_displays 1
2. adb shell settings put global overlay_display_devices 1080x1920/320
3. adb reboot, make sure simulated display overlaid on device.
4. By using a Bluetooth mouse or a USB mouse, launch any Activity on
simulated display that has an input field.
5. Click that input field to see if IME window can shown simulated display.
Change-Id: I5b592f7152dffb12826c6cbd8ab466fcf1392fb7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions