* commit 'f5699b82adef34b0b6bd88554c6a017f8662985e': 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