mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-27 02:09:41 +00:00
Changed log level
This commit is contained in:
parent
c56ba04df8
commit
63ac3edcf4
2 changed files with 1 additions and 2 deletions
|
@ -100,7 +100,6 @@
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/objectFiles" />
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/objectFiles" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard-rules" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
|
||||||
|
|
|
@ -312,7 +312,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||||
if (oldVersion == DB_VERSION) {
|
if (oldVersion == DB_VERSION) {
|
||||||
db.setVersion(oldVersion);
|
db.setVersion(oldVersion);
|
||||||
db.setTransactionSuccessful();
|
db.setTransactionSuccessful();
|
||||||
Log.e(TAG, DB_NAME + " upgraded to " + DB_VERSION);
|
Log.i(TAG, DB_NAME + " upgraded to " + DB_VERSION);
|
||||||
} else
|
} else
|
||||||
throw new IllegalArgumentException(DB_NAME + " upgraded to " + oldVersion + " but required " + DB_VERSION);
|
throw new IllegalArgumentException(DB_NAME + " upgraded to " + oldVersion + " but required " + DB_VERSION);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue