auto import from //depot/cupcake/@136594

This commit is contained in:
The Android Open Source Project
2009-03-05 14:34:37 -08:00
parent 1f838aaece
commit 919607c9e5
2 changed files with 1 additions and 4 deletions

View File

@@ -200,7 +200,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
InputMethodManager imm = (InputMethodManager)
getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
if (imm != null) {
imm.showSoftInputUnchecked(InputMethodManager.SHOW_FORCED);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
}
} break;
case MSG_CALL_LONG_PRESS_COMPLETE: {

View File

@@ -277,9 +277,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
rotation = (orientation >= 270 - _LOWER_THRESHOLD
&& orientation <= 270 + threshold)
? Surface.ROTATION_90 : Surface.ROTATION_0;
} else if (orientation == WindowOrientationListener.ORIENTATION_FLAT) {
// return portrait
rotation = Surface.ROTATION_0;
} else {
// ignore orientation value
return;