Commit 151ed385 authored by fallenstardust's avatar fallenstardust

test log

parent 0deb90b1
...@@ -119,7 +119,7 @@ public class AppsSettings { ...@@ -119,7 +119,7 @@ public class AppsSettings {
DisplayMetrics dm = SystemUtils.getHasVirtualDisplayMetrics((Activity) context); DisplayMetrics dm = SystemUtils.getHasVirtualDisplayMetrics((Activity) context);
if (dm != null) { if (dm != null) {
int height = Math.max(dm.widthPixels, dm.heightPixels); int height = Math.max(dm.widthPixels, dm.heightPixels);
Log.i("机横屏height", "" + height); Log.i("机横屏height1", "" + height);
if(dm.widthPixels / dm.heightPixels > 16/9 ) { if(dm.widthPixels / dm.heightPixels > 16/9 ) {
height = height - getStatusBarHeight(context); height = height - getStatusBarHeight(context);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment