Don't pass useless journal_mode in URI

Since journal_mode is not one of the parameters that SQLite supports in
URIs (see https://www.sqlite.org/uri.html), and SQLite ignores unknown
parameters in URIs, the attempt to set the journal_mode does not
actually do anything.  Remove it to avoid confusion.

Test: adb shell dumpsys android.security.maintenance | grep journal_mode
      # shows "delete" both before and after this change, even with
      # the check of wal_db_journalmode_v3 replaced with 'true'.
Bug: 314419678
Change-Id: Ibf8497195a0e3d954cdec956cb29bf903a91bf5c
1 file changed