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

Skip to content
Commit fc03b2bd authored by Robert Carr's avatar Robert Carr
Browse files

Fix IME adjustment for docked.

If we look in PhoneWindowManager offsetInputMethodWindow
lw we see mContentBottom will be updated to account
for the input methods appearance. Now if we look
at the non SOFT_INPUT_ADJUST_RESIZE case
in layoutWindowLw "normal window" (L4625)
we can see pf will be set to the adjusted mContentBottom
while cf will retain the non adjusted mDockBottom. So
adjustment by cf isn't sufficient we need to use pf. I've
preserved the existing behavior for freeform, until there
is more time to understand the desired behavior here, but
it seemed to make more sense for docked to reduce the available
area from the bottom rather than move the top offscreen.

Bug: 26387930
Change-Id: Id6cf70ea2b584939e24a12f9a32986c096f3d3eb
parent a85c273c
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