Merge "WindowState: Update mLastSurfaceInsets at creation time." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-13 04:09:33 +00:00
committed by Android (Google) Code Review

View File

@@ -694,6 +694,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
mOwnerCanAddInternalSystemWindow = ownerCanAddInternalSystemWindow;
mWindowId = new WindowId(this);
mAttrs.copyFrom(a);
mLastSurfaceInsets.set(mAttrs.surfaceInsets);
mViewVisibility = viewVisibility;
mPolicy = mService.mPolicy;
mContext = mService.mContext;