Improve speed of sending single messages.

This commit is contained in:
Cody Henthorne
2021-07-29 14:07:39 -04:00
committed by GitHub
parent 25234496bf
commit 9398716848
12 changed files with 141 additions and 111 deletions

View File

@@ -94,6 +94,10 @@ public final class SqlUtil {
return args;
}
public static String[] buildArgs(long argument) {
return new String[] { Long.toString(argument) };
}
/**
* Returns an updated query and args pairing that will only update rows that would *actually*
* change. In other words, if {@link SQLiteDatabase#update(String, ContentValues, String, String[])}