mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Fix NPE in deleteAll call.
This commit is contained in:
committed by
Cody Henthorne
parent
a021b400bd
commit
164f089d37
@@ -146,7 +146,7 @@ fun SupportSQLiteDatabase.delete(tableName: String): DeleteBuilderPart1 {
|
||||
* Deletes all data in the table.
|
||||
*/
|
||||
fun SupportSQLiteDatabase.deleteAll(tableName: String): Int {
|
||||
return this.delete(tableName, null, null)
|
||||
return this.delete(tableName, null, arrayOfNulls<String>(0))
|
||||
}
|
||||
|
||||
fun SupportSQLiteDatabase.insertInto(tableName: String): InsertBuilderPart1 {
|
||||
|
||||
Reference in New Issue
Block a user