This document lists the steps needed to upgrade the sources in this repository with the latest revision from upstream.
The upgrade takes place on androidx-main. The primary directory is below.
external/sqlite
The upgrade steps are:
external/sqlite/src, it should contain the following files:shell.csqlite3.csqlite3.hsqlite3ext.hsqlite-bundled's build file:frameworks/support/sqlite/sqlite-bundled/build.gradle
it.sqliteVersion.set("3.50.1")
it.sqliteReleaseYear.set(2025)
METADATA and README.version located in external/sqlite.This file contains the license that allows Android to use the third-party software. SQLite is unusual because it has no license: it is in the public domain. The current file content is below.
The author disclaims copyright to this source code. In place of a legal notice, here is a blessing: May you do good and not evil. May you find forgiveness for yourself and forgive others. May you share freely, never taking more than you give.
There is a test that verifies the SQLite version. This must be updated as well and it must be updated within androidx-main at the same time as the source.
frameworks/support/sqlite/integration-tests/driver-conformance-test/src/commonTest/kotlin/androidx/sqlite/driver/test/BaseBundledConformanceTest.kt
Update the following constant:
const val EXPECTED_SQLITE_VERSION = "3.50.1"
It is recommended to execute the following test script before committing an update:
frameworks/support/sqlite/scripts/runConformanceTest.sh