Merge "Fix surfaceInset adjustment." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
663330a325
@@ -829,8 +829,8 @@ class WindowStateAnimator {
|
||||
// Adjust for surface insets.
|
||||
mTmpSize.left -= scale * attrs.surfaceInsets.left;
|
||||
mTmpSize.top -= scale * attrs.surfaceInsets.top;
|
||||
mTmpSize.right += scale * (attrs.surfaceInsets.left + attrs.surfaceInsets.right);
|
||||
mTmpSize.bottom += scale * (attrs.surfaceInsets.top + attrs.surfaceInsets.bottom);
|
||||
mTmpSize.right += scale * attrs.surfaceInsets.right;
|
||||
mTmpSize.bottom += scale * attrs.surfaceInsets.bottom;
|
||||
}
|
||||
|
||||
boolean hasSurface() {
|
||||
|
||||
Reference in New Issue
Block a user