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

Commit 5e3f50a9 authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "SurfaceControl#setGeometry: Pass invalid rect instead of empty rect"...

Merge "SurfaceControl#setGeometry: Pass invalid rect instead of empty rect" into qt-dev am: b9a891b7
am: 9168ea1d

Change-Id: Idc94b9162a06e5d19e48201fd8f9daa442b73d62
parents 9c442756 9168ea1d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -387,9 +387,13 @@ static void nativeSetGeometry(JNIEnv* env, jclass clazz, jlong transactionObj, j
    Rect source, dst;
    if (sourceObj != NULL) {
        source = rectFromObj(env, sourceObj);
    } else {
        source.makeInvalid();
    }
    if (dstObj != NULL) {
        dst = rectFromObj(env, dstObj);
    } else {
        dst.makeInvalid();
    }
    transaction->setGeometry(ctrl, source, dst, orientation);
}