Reduce logging

This commit is contained in:
M66B 2019-08-03 13:56:16 +02:00
parent f20ebe1183
commit 6b7b8e50b8
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@ public abstract class DB extends RoomDatabase {
EntityLog.TABLE_NAME) {
@Override
public void onInvalidated(@NonNull Set<String> tables) {
Log.i("ROOM invalidated=" + TextUtils.join(",", tables));
if (BuildConfig.DEBUG)
Log.i("ROOM invalidated=" + TextUtils.join(",", tables));
}
});
}