Home » Android » Since when does sqlite's persist journal mode become the default journal mode in Android?

Since when does sqlite's persist journal mode become the default journal mode in Android?

Posted by: admin November 1, 2017 Leave a comment

Questions:

Since when does sqlite’s persist journal mode become the default journal mode in Android?

I know that the journal mode have changed in Android version 4.1.1 (API 16). But it is not accurate. Because the release notes do not contain this information. I do not know if i can find in release note. If you know someone who knows exactly when SQLite journal mode was changed in Android, plz let me know.

Answers:

I don’t think journal_mode is PERSIST by default rather that DELETE is the default. However, that is only a) according to the SQLIte documentation and b) checking a few emulated devices and one real device:-

  • real device HTC Android 6.0.1
  • GenyMotion device 6.0.0
  • GenyMotion device 5.1.0

I believe vendors may have the ability to alter various factors that would probably make an actual date or version unreliable anyway.

Screen Shots from the GenyMotion devices (just so happens I’m playing around with something that provides this information) :-

enter image description here

enter image description here