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

Commit 0b28364e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Allow sqlite in isolated processes" into main

parents 2212fbb5 18d6de53
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -104,6 +104,11 @@ public class SQLiteCompatibilityWalFlags {
                sCallingGlobalSettings = true;
                flags = Settings.Global.getString(app.getContentResolver(),
                        Settings.Global.SQLITE_COMPATIBILITY_WAL_FLAGS);
            } catch (Exception e) {
                // The process is unable to read the flags.  Treat this condition the same as if
                // the ActivityThread application was not available.
                Log.w(TAG, "Cannot read global setting "
                        + Settings.Global.SQLITE_COMPATIBILITY_WAL_FLAGS + " - " + e.toString());
            } finally {
                sCallingGlobalSettings = false;
            }