Permalink
Browse files

fix IME overlapping fields while typing in certain situations

Change-Id: Ia8762443b4f43174fb416bd432c2e70f97881558
Signed-off-by: Roman Birg <romanbirg@gmail.com>
  • Loading branch information...
1 parent 292313b commit e4082b1e090621a7e97005cf1359daad6895c2ff @romanbb romanbb committed Jan 3, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -3038,10 +3038,10 @@ public void layoutWindowLw(WindowState win, WindowManager.LayoutParams attrs,
df.bottom = cf.bottom = mRestrictedScreenTop+mRestrictedScreenHeight;
}
if (adjust != SOFT_INPUT_ADJUST_NOTHING) {
- vf.left = mRestrictedScreenLeft;
- vf.top = mRestrictedScreenTop;
- vf.right = mRestrictedScreenLeft+mRestrictedScreenWidth;
- vf.bottom = mRestrictedScreenTop+mRestrictedScreenHeight;;
+ vf.left = mCurLeft;
+ vf.top = mCurTop;
+ vf.right = mCurRight;
+ vf.bottom = mCurBottom;
} else {
vf.set(cf);
}

0 comments on commit e4082b1

Please sign in to comment.