diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-08-11 22:15:36 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-08-16 13:35:01 +0800 |
commit | 6b880493378abf01513b85bc2b00bdb471e3bfbf (patch) | |
tree | 17fa1a9367f164ab72ca4375d952757cf9695892 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 7e62af128aa98af72d6473dd2694540940758aa2 (diff) |
Apply fixed rotation on IME window if its target is rotated
This avoids flickering if the IME target activity and IME show in
different orientations. A new callback in WMS will be called if
IME window may be shown later, so the IME window can be told to
use the rotated configuration if it will show on a rotated activity.
Also consolidate multiple invocations from IMMS to WMS to a single
call onToggleImeRequested after requesting to show/hide IME. So it
doesn't need to acquire/release wm lock serveral times.
Bug: 195816362
Test: DisplayContentTests#testApplyTopFixedRotationTransform
Change-Id: I0b036594161898f9df6ad71f0adb5fe93880161a
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions