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

Commit ab8be59c authored by Kevin Jeon's avatar Kevin Jeon Committed by Android (Google) Code Review
Browse files

Merge "Add null check to SQLiteConnectionPool.dump()" into udc-dev

parents 7165756c 68304252
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -1136,7 +1136,10 @@ public final class SQLiteConnectionPool implements Closeable {
        Printer indentedPrinter = PrefixPrinter.create(printer, "    ");
        Printer indentedPrinter = PrefixPrinter.create(printer, "    ");
        synchronized (mLock) {
        synchronized (mLock) {
            if (directories != null) {
            if (directories != null) {
                directories.add(new File(mConfiguration.path).getParent());
                String parent = new File(mConfiguration.path).getParent();
                if (parent != null) {
                    directories.add(parent);
                }
            }
            }
            boolean isCompatibilityWalEnabled = mConfiguration.isLegacyCompatibilityWalEnabled();
            boolean isCompatibilityWalEnabled = mConfiguration.isLegacyCompatibilityWalEnabled();
            printer.println("Connection pool for " + mConfiguration.path + ":");
            printer.println("Connection pool for " + mConfiguration.path + ":");