Merge "Use full display size for calculating volume dialog size."
This commit is contained in:
committed by
Android (Google) Code Review
commit
3a1cbc333e
@@ -1488,7 +1488,8 @@ public final class ViewRootImpl implements ViewParent,
|
||||
if ((lp.width == ViewGroup.LayoutParams.WRAP_CONTENT
|
||||
|| lp.height == ViewGroup.LayoutParams.WRAP_CONTENT)
|
||||
&& (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL
|
||||
|| lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD)) {
|
||||
|| lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD
|
||||
|| lp.type == WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY)) {
|
||||
windowSizeMayChange = true;
|
||||
// NOTE -- system code, won't try to do compat mode.
|
||||
Point size = new Point();
|
||||
|
||||
Reference in New Issue
Block a user