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

Commit ebfa026b 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 0e5149b1 552c4e8d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -731,6 +731,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
    public void beginTransactionWithListener(
            @Nullable SQLiteTransactionListener transactionListener) {
        beginTransaction(transactionListener, true);
@@ -760,6 +761,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
    public void beginTransactionWithListenerNonExclusive(
            @Nullable SQLiteTransactionListener transactionListener) {
        beginTransaction(transactionListener, false);
@@ -785,6 +787,8 @@ public final class SQLiteDatabase extends SQLiteClosable {
     *   }
     * </pre>
     */
    // TODO(340874899) Provide an Executor overload
    @SuppressLint("ExecutorRegistration")
    @FlaggedApi(Flags.FLAG_SQLITE_APIS_35)
    public void beginTransactionWithListenerReadOnly(
            @Nullable SQLiteTransactionListener transactionListener) {