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

Commit 919607c9 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

auto import from //depot/cupcake/@136594

parent 1f838aae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: {
+0 −3
Original line number Diff line number Diff line
@@ -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;