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

Commit b32b61b8 authored by Chavi Weingarten's avatar Chavi Weingarten
Browse files

Fix SurfaceControlRegistry log

setWindowCrop had the incorrect string being checked for logs.

Test: setprop persist.wm.debug.sc.tx.log_match_call setWindowCrop
Bug: 308093559
Change-Id: I6d9a36cd77ae3ac47ff86220de233ccba80f7644
parent a891bc20
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -70,7 +70,6 @@ import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.os.SystemProperties;
import android.util.ArrayMap;
import android.util.Log;
import android.util.Slog;
@@ -3304,7 +3303,7 @@ public final class SurfaceControl implements Parcelable {
            checkPreconditions(sc);
            if (SurfaceControlRegistry.sCallStackDebuggingEnabled) {
                SurfaceControlRegistry.getProcessInstance().checkCallStackDebugging(
                        "setCornerRadius", this, sc, "w=" + width + " h=" + height);
                        "setWindowCrop", this, sc, "w=" + width + " h=" + height);
            }
            nativeSetWindowCrop(mNativeObject, sc.mNativeObject, 0, 0, width, height);
            return this;