mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Revert "Fixed modifying ROOM view tables"
This reverts commit 951a26d7b3
.
This commit is contained in:
parent
45267c0f72
commit
29ac27aa45
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue