Revert "Fix calculation of overscan insets in WindowState."

This reverts commit ff778fe450.

Bug: 18659737
Change-Id: I1efc59edfb8ded946cc14f5c4d6f532ac291bd81
This commit is contained in:
Adrian Roos
2014-12-09 15:06:40 +00:00
parent ff778fe450
commit 3236f3a93a

View File

@@ -617,8 +617,8 @@ final class WindowState implements WindowManagerPolicy.WindowState {
mOverscanInsets.set(Math.max(mOverscanFrame.left - mFrame.left, 0),
Math.max(mOverscanFrame.top - mFrame.top, 0),
Math.min(mFrame.right - mOverscanFrame.right, 0),
Math.min(mFrame.bottom - mOverscanFrame.bottom, 0));
Math.max(mFrame.right - mOverscanFrame.right, 0),
Math.max(mFrame.bottom - mOverscanFrame.bottom, 0));
mContentInsets.set(mContentFrame.left - mFrame.left,
mContentFrame.top - mFrame.top,