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

Commit 58f48edd authored by Daniel Sandler's avatar Daniel Sandler Committed by Android Git Automerger
Browse files

am f5699b82: am b4b44bd3: DO NOT MERGE. Restore status bar on phones.

* commit 'f5699b82':
  DO NOT MERGE. Restore status bar on phones.
parents 955e8d79 f5699b82
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -774,8 +774,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        // Determine whether the status bar can hide based on the size
        // of the screen.  We assume sizes > 600dp are tablets where we
        // will use the system bar.
        int shortSizeDp = (shortSize*DisplayMetrics.DENSITY_DEVICE)
                / DisplayMetrics.DENSITY_DEFAULT;
        int shortSizeDp = shortSize
                * DisplayMetrics.DENSITY_DEFAULT
                / DisplayMetrics.DENSITY_DEVICE;
        mStatusBarCanHide = shortSizeDp < 600;
        mStatusBarHeight = mContext.getResources().getDimensionPixelSize(
                mStatusBarCanHide