1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 17:27:00 +00:00

Revert "Fixed modifying ROOM view tables"

This reverts commit 951a26d7b3.
This commit is contained in:
M66B 2024-05-13 17:52:57 +02:00
parent 45267c0f72
commit 29ac27aa45

View file

@ -406,7 +406,7 @@ public abstract class DB extends RoomDatabase {
try {
Log.i("Disabling view invalidation");
Field fmViewTables = InvalidationTracker.class.getDeclaredField("viewTables");
Field fmViewTables = InvalidationTracker.class.getDeclaredField("mViewTables");
fmViewTables.setAccessible(true);
Map<String, Set<String>> mViewTables = (Map) fmViewTables.get(sInstance.getInvalidationTracker());