Skip to content
Commit 6b880493 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 7e62af12
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment