From 55e9970511f970b9a45f5537f850597205707f71 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Tue, 19 Mar 2019 13:57:08 -0700 Subject: [PATCH] Disable DB wipe check We stopped using WAL, so let's just disable it Change-Id: I14f4f3ca6521db12a2fbde8c20122bb4b2cc8186 Fix: 118613196 Test: Manual test with removing DB files --- core/java/android/database/sqlite/SQLiteGlobal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/database/sqlite/SQLiteGlobal.java b/core/java/android/database/sqlite/SQLiteGlobal.java index d796003395f58..5e2875d02d90e 100644 --- a/core/java/android/database/sqlite/SQLiteGlobal.java +++ b/core/java/android/database/sqlite/SQLiteGlobal.java @@ -176,6 +176,6 @@ public final class SQLiteGlobal { /** @hide */ public static boolean checkDbWipe() { - return true; + return false; } }