summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2015-08-18 02:04:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-08-18 02:04:57 +0000
commit610008c0ebf5ea4556b4825eac521b2b16f1a66c (patch)
tree391156c2943de1c99afbfc06e5b63ae2a911c30c /services
parent12b9c2d6aa77d25848f81d84e34367a46d09d2af (diff)
parent3fcb5d66e4cb95a327ffc867847b16bf10fef0db (diff)
downloadframeworks_base-610008c0ebf5ea4556b4825eac521b2b16f1a66c.zip
frameworks_base-610008c0ebf5ea4556b4825eac521b2b16f1a66c.tar.gz
frameworks_base-610008c0ebf5ea4556b4825eac521b2b16f1a66c.tar.bz2
Merge "Clear old clip rect when creating new surface." into mnc-dev
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/wm/WindowStateAnimator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/WindowStateAnimator.java b/services/core/java/com/android/server/wm/WindowStateAnimator.java
index 3ac6bba..ab56d5e 100644
--- a/services/core/java/com/android/server/wm/WindowStateAnimator.java
+++ b/services/core/java/com/android/server/wm/WindowStateAnimator.java
@@ -40,7 +40,6 @@ import android.graphics.RectF;
import android.graphics.Region;
import android.os.Debug;
import android.os.RemoteException;
-import android.os.UserHandle;
import android.util.Slog;
import android.view.Display;
import android.view.DisplayInfo;
@@ -837,6 +836,8 @@ class WindowStateAnimator {
mSurfaceX = 0;
mSurfaceY = 0;
w.mLastSystemDecorRect.set(0, 0, 0, 0);
+ mHasClipRect = false;
+ mClipRect.set(0, 0, 0, 0);
mLastClipRect.set(0, 0, 0, 0);
// Set up surface control with initial size.