Rename crop_legacy to just crop

crop_legacy and crop should do the same thing so there's no need for two
separate requests.

Test: go/wm-smoke
Bug: 170765639

Change-Id: I945aec7a85932e494516a9f32abb56d07ef37ef3
This commit is contained in:
chaviw
2021-02-11 10:01:54 -08:00
parent 9b182c69f3
commit 0f50e9fb51

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,