Update lib

This commit is contained in:
Thomas 2020-05-03 16:35:24 +02:00
parent cf56d555da
commit 1411ae42cf
3 changed files with 6 additions and 5 deletions

View File

@ -7,8 +7,8 @@ android {
applicationId "app.fedilab.nitterizeme"
minSdkVersion 15
targetSdkVersion 29
versionCode 15
versionName "1.9.0-beta-1"
versionCode 16
versionName "1.9.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {

View File

@ -55,10 +55,11 @@ public class DefaultAppDAO {
}
}
public int removeApp(String packageName) {
return db.delete(Sqlite.TABLE_DEFAULT_APPS, Sqlite.COL_DEFAULT_PACKAGE + " = \"" + packageName + "\"", null);
public void removeApp(String packageName) {
db.delete(Sqlite.TABLE_DEFAULT_APPS, Sqlite.COL_DEFAULT_PACKAGE + " = \"" + packageName + "\"", null);
}
@SuppressWarnings("unused")
public int removeAll() {
return db.delete(Sqlite.TABLE_DEFAULT_APPS, null, null);
}

View File

@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
classpath 'com.android.tools.build:gradle:3.6.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files