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

Commit 39e46cea authored by László Dávid's avatar László Dávid
Browse files

SQLiteSession: Use hasNestedException() method instead of direct check

See: https://android-review.googlesource.com/#/c/45433/

Change-Id: I2e025b249cc1c487116fc4abadaf9326b1f98563
parent 3202537c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -926,7 +926,7 @@ public final class SQLiteSession {
    }

    private void throwIfNestedTransaction() {
        if (mTransactionStack != null && mTransactionStack.mParent != null) {
        if (hasNestedTransaction()) {
            throw new IllegalStateException("Cannot perform this operation because "
                    + "a nested transaction is in progress.");
        }