Revert "Fixed modifying ROOM view tables"

This reverts commit 951a26d7b3.
pull/215/head
M66B 8 months ago
parent 45267c0f72
commit 29ac27aa45

@ -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());

Loading…
Cancel
Save