auto import from //depot/cupcake/@136594
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user