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

Commit 09b64443 authored by Jerome Gaillard's avatar Jerome Gaillard Committed by Android (Google) Code Review
Browse files

Merge "Add host required arguments to FontFamily_getVariant" into sc-dev

parents a0735849 ecb871d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ static jstring FontFamily_getLangTags(JNIEnv* env, jobject, jlong familyPtr) {
}

// CriticalNative
static jint FontFamily_getVariant(jlong familyPtr) {
static jint FontFamily_getVariant(CRITICAL_JNI_PARAMS_COMMA jlong familyPtr) {
    FontFamilyWrapper* family = reinterpret_cast<FontFamilyWrapper*>(familyPtr);
    return static_cast<jint>(family->family->variant());
}