commit
Commits all operations from queue and then empties the queue.
Return
number of affected rows
Throws
on calendar provider errors. In case of android.os.DeadObjectException, the provider has probably been killed/crashed or the calling process is cached and thus IPC is frozen (Android 14+).
if
the transaction is too large and can't be split (wrapped TransactionTooLargeException)
the batch can't be processed (wrapped OperationApplicationException)
the content provider throws a RuntimeException (will be wrapped)