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

Commit b4b44bd3 authored by Daniel Sandler's avatar Daniel Sandler Committed by Dianne Hackborn
Browse files

DO NOT MERGE. Restore status bar on phones.

Bug: 4529373
Change-Id: Ie08522dbf762e80ac077ce403ff83312cec907f7
parent 0538e621
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line 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
        // Determine whether the status bar can hide based on the size
        // of the screen.  We assume sizes > 600dp are tablets where we
        // of the screen.  We assume sizes > 600dp are tablets where we
        // will use the system bar.
        // will use the system bar.
        int shortSizeDp = (shortSize*DisplayMetrics.DENSITY_DEVICE)
        int shortSizeDp = shortSize
                / DisplayMetrics.DENSITY_DEFAULT;
                * DisplayMetrics.DENSITY_DEFAULT
                / DisplayMetrics.DENSITY_DEVICE;
        mStatusBarCanHide = shortSizeDp < 600;
        mStatusBarCanHide = shortSizeDp < 600;
        mStatusBarHeight = mContext.getResources().getDimensionPixelSize(
        mStatusBarHeight = mContext.getResources().getDimensionPixelSize(
                mStatusBarCanHide
                mStatusBarCanHide