diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index f66c432052..c8231f7df6 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -27,9 +27,11 @@ #AndroidX -keep class androidx.appcompat.widget.** {*;} -keep class androidx.appcompat.app.AppCompatViewInflater {(...);} --keepclassmembers class * implements android.os.Parcelable {static ** CREATOR;} #android.os.BadParcelableException: Parcelable protocol requires a Parcelable.Creator object called CREATOR on class androidx... --keep class androidx.work.impl.** {*;} #Due to compiling ROOM inline +-keepclassmembers class * implements android.os.Parcelable {static ** CREATOR;} +#ROOM inline compilation +-keep class androidx.work.impl.** {*;} +#Stack traces, InvalidationTracker reflection -keepnames class androidx.** {*;} #IAB diff --git a/app/src/main/java/eu/faircode/email/DB.java b/app/src/main/java/eu/faircode/email/DB.java index 341a7e58fa..73f0ba9533 100644 --- a/app/src/main/java/eu/faircode/email/DB.java +++ b/app/src/main/java/eu/faircode/email/DB.java @@ -149,7 +149,7 @@ public abstract class DB extends RoomDatabase { mViewTables.get("folder_view").clear(); Log.i("Disabled view invalidation"); } catch (ReflectiveOperationException ex) { - Log.w(ex); + Log.e(ex); } sInstance.getInvalidationTracker().addObserver(new InvalidationTracker.Observer(DB.DB_TABLES) {