修复Parcelable可能引起的崩溃

This commit is contained in:
ocean 2025-12-04 09:34:54 +08:00
parent 8e224e1f2e
commit 1ae6a12395

View File

@ -33,3 +33,11 @@
# 防止缺少 gemalto JP2Decoder 报错
-dontwarn com.gemalto.jp2.**
-dontwarn com.tom_roush.pdfbox.filter.JPXFilter
# 保留所有 Parcelable
-keep class * implements android.os.Parcelable { *; }
# 保留所有 Parcelable CREATOR 字段
-keepclassmembers class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}