Fix for sqlite3_open_v2 returning errors.

Happened after default compilation flags changed in ag/11474704. The fix
is to revert the flags for just this library.

Fixes: 160728363
Test: manually install the apk in the bug and verify it's not
crashing/throwing the exception.

Change-Id: I9e02a810bee088b35d25921086810f695956d6d3
Merged-In: I9e02a810bee088b35d25921086810f695956d6d3
diff --git a/dist/Android.bp b/dist/Android.bp
index 414c84d..d4eb4b4 100644
--- a/dist/Android.bp
+++ b/dist/Android.bp
@@ -41,6 +41,9 @@
         "-Wno-unused-parameter",
         "-Werror",
 
+        // Default value causes sqlite3_open_v2 to return error if DB is missing.
+        "-ftrivial-auto-var-init=pattern",
+
         // Turn off the new pass manager due to miscompile.
         // http://b/131854833
         "-fno-experimental-new-pass-manager",