v4.4.57
主要修改内容:
(1)更新 tgfx 到 release/1.2 HEAD,适配原生接口 getInputSurface 到 createInputSurface 的变更。
(2)修复 Android 平台 nativeReplaceImageByName 中 JNI 参数类型错误导致的 armeabi-v7a SIGSEGV 崩溃(#3594)。
(3)修复 PAGImageView 在 detach/resize/setPath 时因硬件解码器挂起导致的 ANR 问题(#3570)。
(4)修复 Android PAGSurface 在 finalize 中未释放 Surface 导致的内存泄漏(#3571)。
(5)修复 iOS PAGImageView dealloc 时未串行化 reset 与 flush 导致的崩溃(#3577)。
(6)替换 JNI 字符串转换方案,使用直接的 NewStringUTF 和 GetStringUTFChars,修复后台线程中 FindClass 的崩溃问题(#3566)。
Main modifications:
(1) Updated tgfx to release/1.2 HEAD and adapted native getInputSurface to createInputSurface.
(2) Fixed JNI parameter type error in nativeReplaceImageByName causing SIGSEGV on armeabi-v7a (#3594).
(3) Reduced PAGImageView ANR on detach/resize/setPath by making DecoderInfo reset non-blocking when hardware decoder hangs (#3570).
(4) Fixed Android PAGSurface memory leak by releasing Surface in finalize (#3571).
(5) Fixed iOS PAGImageView crash on dealloc by serializing reset with flush (#3577).
(6) Replaced JNI string conversion workarounds with direct NewStringUTF and GetStringUTFChars to fix FindClass crash on background threads (#3566).