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

Commit b9a891b7 authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

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

parents a7b66f35 ced6f851
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);
}