summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/hwui/jni/Typeface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/jni/Typeface.cpp b/libs/hwui/jni/Typeface.cpp
index 707577d6d075..c5095c1a0704 100644
--- a/libs/hwui/jni/Typeface.cpp
+++ b/libs/hwui/jni/Typeface.cpp
@@ -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);