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

Commit 9168ea1d 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" into qt-dev

am: b9a891b7

Change-Id: Ia1f493327b8e5172fa15e05e08282d91db1ea5cd
parents 401453c0 b9a891b7
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);
}