am b4b44bd3: DO NOT MERGE. Restore status bar on phones.
* commit 'b4b44bd32983e154f2ad61b99809ed6cedd46d47': DO NOT MERGE. Restore status bar on phones.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user