Merge "Rename crop_legacy to just crop" into sc-dev

This commit is contained in:
Chavi Weingarten
2021-03-16 13:52:43 +00:00
committed by Android (Google) Code Review

View File

@@ -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,