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

Commit 631cb3d5 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Restore status bar on phones.

Bug: 4529373
Change-Id: I669774e734cb5f40c8944ffb5161c3b4bf7b2996
parent 7e7248f2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -781,8 +781,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