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

Commit 5a87a4e3 authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am 30408434: am f8033360: Merge "Give IMEs the entire screen to use for...

am 30408434: am f8033360: Merge "Give IMEs the entire screen to use for measuring purposes." into klp-dev

* commit '30408434':
  Give IMEs the entire screen to use for measuring purposes.
parents a3378956 30408434
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1179,7 +1179,8 @@ public final class ViewRootImpl implements ViewParent,
            mFullRedrawNeeded = true;
            mLayoutRequested = true;

            if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL) {
            if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL
                    || lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD) {
                // NOTE -- system code, won't try to do compat mode.
                Point size = new Point();
                mDisplay.getRealSize(size);
@@ -1273,7 +1274,8 @@ public final class ViewRootImpl implements ViewParent,
                        || lp.height == ViewGroup.LayoutParams.WRAP_CONTENT) {
                    windowSizeMayChange = true;

                    if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL) {
                    if (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL
                            || lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD) {
                        // NOTE -- system code, won't try to do compat mode.
                        Point size = new Point();
                        mDisplay.getRealSize(size);