Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d29dd0c9 authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android Git Automerger
Browse files

am b59404a1: am eb2f302d: am 610008c0: Merge "Clear old clip rect when...

am b59404a1: am eb2f302d: am 610008c0: Merge "Clear old clip rect when creating new surface." into mnc-dev

* commit 'b59404a1':
  Clear old clip rect when creating new surface.
parents cfd288b8 b59404a1
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -40,7 +40,6 @@ import android.graphics.RectF;
import android.graphics.Region;
import android.graphics.Region;
import android.os.Debug;
import android.os.Debug;
import android.os.RemoteException;
import android.os.RemoteException;
import android.os.UserHandle;
import android.util.Slog;
import android.util.Slog;
import android.view.Display;
import android.view.Display;
import android.view.DisplayInfo;
import android.view.DisplayInfo;
@@ -837,6 +836,8 @@ class WindowStateAnimator {
            mSurfaceX = 0;
            mSurfaceX = 0;
            mSurfaceY = 0;
            mSurfaceY = 0;
            w.mLastSystemDecorRect.set(0, 0, 0, 0);
            w.mLastSystemDecorRect.set(0, 0, 0, 0);
            mHasClipRect = false;
            mClipRect.set(0, 0, 0, 0);
            mLastClipRect.set(0, 0, 0, 0);
            mLastClipRect.set(0, 0, 0, 0);


            // Set up surface control with initial size.
            // Set up surface control with initial size.