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

Commit cd9843c0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Initialize fIsVariationInstance" into main

parents 5c6edc7d 3c424e87
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -354,6 +354,7 @@ static jlongArray Typeface_readTypefaces(JNIEnv* env, jobject, jobject buffer, j
        typeface->fStyle = minikin::FontStyle(&reader);
        typeface->fAPIStyle = reader.read<Typeface::Style>();
        typeface->fBaseWeight = reader.read<int>();
        typeface->fIsVariationInstance = false;
        faceHandles.push_back(toJLong(typeface));
    }
    const jlongArray result = env->NewLongArray(typefaceCount);