Replace corruption handler of DB (#1982)
This commit is contained in:
parent
7e12c50229
commit
5ea6dffcbf
|
|
@ -86,7 +86,8 @@ public class ConfigManager {
|
||||||
private static ConfigManager instance = null;
|
private static ConfigManager instance = null;
|
||||||
|
|
||||||
private final SQLiteDatabase db =
|
private final SQLiteDatabase db =
|
||||||
SQLiteDatabase.openOrCreateDatabase(ConfigFileManager.dbPath, null);
|
SQLiteDatabase.openOrCreateDatabase(ConfigFileManager.dbPath.getAbsolutePath(), null,
|
||||||
|
sqLiteDatabase -> Log.w(TAG, "database corrupted"));
|
||||||
|
|
||||||
private boolean verboseLog = true;
|
private boolean verboseLog = true;
|
||||||
private boolean dexObfuscate = false;
|
private boolean dexObfuscate = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue