mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Improve speed of sending single messages.
This commit is contained in:
@@ -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[])}
|
||||
|
||||
Reference in New Issue
Block a user