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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user