Permalink
Browse files

Merge "fix IME overlapping fields while typing in certain situations"…

… into jb-mr1
  • Loading branch information...
romanbb authored and Gerrit Code Review committed Jan 4, 2013
2 parents 2825ac2 + e4082b1 commit 9fbf76c72962bdf42e55a3639350c6bb39409ac0
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 9fbf76c

Please sign in to comment.