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

Commit eb952ab3 authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

Merge "Do not close idle connections by default" into oc-mr1-dev

am: 6f8afdc5

Change-Id: Icda0c6495682077725849f96855421f395cd8ff5
parents 7505f4d5 6f8afdc5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -79,8 +79,9 @@ public final class SQLiteDatabase extends SQLiteClosable {

    private static final int EVENT_DB_CORRUPT = 75004;

    // By default idle connections are not closed
    private static final boolean DEBUG_CLOSE_IDLE_CONNECTIONS = SystemProperties
            .getBoolean("persist.debug.sqlite.close_idle_connections", true);
            .getBoolean("persist.debug.sqlite.close_idle_connections", false);

    // Stores reference to all databases opened in the current process.
    // (The referent Object is not used at this time.)