Merge branch 'gsonCrashFix' into 'master'

Fix gson caused crash

See merge request pixeldroid/PixelDroid!450
This commit is contained in:
Matthieu 2022-07-25 14:46:34 +00:00
commit c443436399
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@
-keep class * implements com.google.gson.JsonSerializer -keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer -keep class * implements com.google.gson.JsonDeserializer
-keep class com.google.gson.internal.LinkedTreeMap { *; }
# Prevent R8 from leaving Data object members always null # Prevent R8 from leaving Data object members always null
-keepclassmembers,allowobfuscation class * { -keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>; @com.google.gson.annotations.SerializedName <fields>;