Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5e36260 authored by Lee Shombert's avatar Lee Shombert Committed by Android (Google) Code Review
Browse files

Merge "Suppress the missing Executor lint warning" into main

parents fe00f3d2 88b8d370
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -733,7 +733,7 @@ public final class SQLiteDatabase extends SQLiteClosable {
     * commits, or is rolled back, either explicitly or by a call to
     * {@link #yieldIfContendedSafely}.
     */
    // TODO(340874899) Provide an Executor overload
    @SuppressLint("ExecutorRegistration")
    public void beginTransactionWithListener(
            @Nullable SQLiteTransactionListener transactionListener) {
        beginTransaction(transactionListener, true);
@@ -763,7 +763,7 @@ public final class SQLiteDatabase extends SQLiteClosable {
     *            transaction begins, commits, or is rolled back, either
     *            explicitly or by a call to {@link #yieldIfContendedSafely}.
     */
    // TODO(340874899) Provide an Executor overload
    @SuppressLint("ExecutorRegistration")
    public void beginTransactionWithListenerNonExclusive(
            @Nullable SQLiteTransactionListener transactionListener) {
        beginTransaction(transactionListener, false);
@@ -789,7 +789,6 @@ public final class SQLiteDatabase extends SQLiteClosable {
     *   }
     * </pre>
     */
    // TODO(340874899) Provide an Executor overload
    @SuppressLint("ExecutorRegistration")
    @FlaggedApi(Flags.FLAG_SQLITE_APIS_35)
    public void beginTransactionWithListenerReadOnly(