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

Commit 713b8f40 authored by Lee Shombert's avatar Lee Shombert
Browse files

Restored an exception string

Restored an exception string prefix.  Tested with current and legacy
CTS builds.

No test updates are required in any branch.

Flag: EXEMPT bug-fix
Bug: 374820449
Test: atest
 * FrameworksCoreTests:android.database
 * CtsDatabaseTestCases
Change-Id: I59325cb3206bd265a0f9f9edf90eae3f8ab0bfd0
parent 171be9f0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -241,7 +241,8 @@ public final class SQLiteConnection implements CancellationSignal.OnCancelListen
                    NoPreloadHolder.DEBUG_SQL_STATEMENTS, NoPreloadHolder.DEBUG_SQL_TIME,
                    mConfiguration.lookasideSlotSize, mConfiguration.lookasideSlotCount);
        } catch (SQLiteCantOpenDatabaseException e) {
            final StringBuilder message = new StringBuilder(e.getMessage())
            final StringBuilder message = new StringBuilder("Cannot open database ")
                    .append("[").append(e.getMessage()).append("]")
                    .append(" '").append(file).append("'")
                    .append(" with flags 0x")
                    .append(Integer.toHexString(mConfiguration.openFlags));