diff options
| author | 2025-01-07 23:08:32 -0800 | |
|---|---|---|
| committer | 2025-01-07 23:08:32 -0800 | |
| commit | cd9843c0248fe3061bd6eb26451b0f3a60157a83 (patch) | |
| tree | c7071efff6bc3e2cf160bf8ca1c1f5c1f2d40597 | |
| parent | 5c6edc7ddce257ce74f67a2495e3b3e413cdb554 (diff) | |
| parent | 3c424e87908574b724eccc9991690ea03f85a3bd (diff) | |
Merge "Initialize fIsVariationInstance" into main
| -rw-r--r-- | libs/hwui/jni/Typeface.cpp | 1 |
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); |