fix empty bindArgs crash error for sql query to clear subscriptions
This commit is contained in:
parent
6c44e503db
commit
33094f8c88
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||||
db.execSQL(SQL_DELETE_SUBSCRIPTION, new Object[] { subscription.getUrl() });
|
db.execSQL(SQL_DELETE_SUBSCRIPTION, new Object[] { subscription.getUrl() });
|
||||||
}
|
}
|
||||||
public static void clearSubscriptions(SQLiteDatabase db) {
|
public static void clearSubscriptions(SQLiteDatabase db) {
|
||||||
db.execSQL(SQL_CLEAR_SUBSCRIPTIONS, null);
|
db.execSQL(SQL_CLEAR_SUBSCRIPTIONS);
|
||||||
}
|
}
|
||||||
public static List<Subscription> getSubscriptions(SQLiteDatabase db) {
|
public static List<Subscription> getSubscriptions(SQLiteDatabase db) {
|
||||||
List<Subscription> subscriptions = new ArrayList<>();
|
List<Subscription> subscriptions = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in a new issue