diff --git a/services/core/java/com/android/server/am/TaskRecord.java b/services/core/java/com/android/server/am/TaskRecord.java index b562860d3ba256df5fb1dc1288192278167892a6..b030d5060c8b4d8bd59740285186fd31fbdea913 100755 --- a/services/core/java/com/android/server/am/TaskRecord.java +++ b/services/core/java/com/android/server/am/TaskRecord.java @@ -1513,12 +1513,12 @@ final class TaskRecord { boolean overrideWidth, boolean overrideHeight) { mTmpNonDecorBounds.set(bounds); mTmpStableBounds.set(bounds); - subtractNonDecorInsets( + /*subtractNonDecorInsets( mTmpNonDecorBounds, insetBounds != null ? insetBounds : bounds, overrideWidth, overrideHeight); subtractStableInsets( mTmpStableBounds, insetBounds != null ? insetBounds : bounds, - overrideWidth, overrideHeight); + overrideWidth, overrideHeight);*/ // For calculating screenWidthDp, screenWidthDp, we use the stable inset screen area, // i.e. the screen area without the system bars.