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