Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0a2f34fd authored by Winson Chung's avatar Winson Chung
Browse files

Workaround the IME dismissing when dragging PiP.

- When the IME is shown, skip showing the dismiss scrim in the menu
  because starting the activity will cause a window focus change, which
  will close the IME (it will still be covered by the dismiss overlay).
  This is slightly inconsistent from dragging while the IME is not visible,
  but is preferable to having the IME close.
- Also, use the inset bounds to calculate the fraction, which aligns
  closer to the dismiss check (which is also based on the display bounds
  and not the current (possibly inset) movement bounds.

Bug: 37655837
Test: Drag PIP over IME, ensure that it does not hide the IME.
Change-Id: I86228371effce2d962ab4367497f5b1bf32456ec
parent 06668b5f
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