int contentViewTop = a.getWindow().findViewById(Window.ID_ANDROID_CONTENT).getTop();
maxHeight -= contentViewTop;
final float scale = a.getResources().getDisplayMetrics().density;
maxHeight = (int) ((maxHeight / scale) + 0.5f);
maxWidth = (int) ((maxWidth / scale) + 0.5f);
<BUG>owner.loadUrl("javascript:window.mraid.util.setMaxSize(" + maxWidth + ", " + maxHeight + ")");
</BUG>
}
}
private void setScreenSize() {

int contentViewTop = a.getWindow().findViewById(Window.ID_ANDROID_CONTENT).getTop();
maxHeight -= contentViewTop;
final float scale = a.getResources().getDisplayMetrics().density;
maxHeight = (int) ((maxHeight / scale) + 0.5f);
maxWidth = (int) ((maxWidth / scale) + 0.5f);
owner.injectJavaScript("javascript:window.mraid.util.setMaxSize(" + maxWidth + ", " + maxHeight + ")");
}
}
private void setScreenSize() {
