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

Commit 5bff2f5e authored by Kevin Jeon's avatar Kevin Jeon Committed by Automerger Merge Worker
Browse files

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

Merge "Add null check to SQLiteConnectionPool.dump()" into udc-dev am: ab8be59c am: dd07078d am: 2eec2aab

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23057623



Change-Id: I840d74be9c8599a7c9d669880dad2164e2426744
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2a05ec87 2eec2aab
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1136,7 +1136,10 @@ public final class SQLiteConnectionPool implements Closeable {
        Printer indentedPrinter = PrefixPrinter.create(printer, "    ");
        synchronized (mLock) {
            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();
            printer.println("Connection pool for " + mConfiguration.path + ":");