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

Commit 9d825b61 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Automerger Merge Worker
Browse files

Merge "Rename crop_legacy to just crop" into sc-dev am: 2043453a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13636351

Change-Id: I2a4e1b5c5fb55cec58fe7529f31d8cccb7853465
parents 813a53b4 2043453a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -746,7 +746,7 @@ static void nativeSetWindowCrop(JNIEnv* env, jclass clazz, jlong transactionObj,

    SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject);
    Rect crop(l, t, r, b);
    transaction->setCrop_legacy(ctrl, crop);
    transaction->setCrop(ctrl, crop);
}

static void nativeSetCornerRadius(JNIEnv* env, jclass clazz, jlong transactionObj,