Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bbe14c5 authored by Lee Shombert's avatar Lee Shombert
Browse files

Enable sqlite trunk-stable flags in jni

This change makes trunk-stable flags from the android.database.sqlite
package available to the sqlite jni C++ files.  To use a flag in one
of the SQLite source files (or any C++ file):

````
#include <android_database_sqlite.h>

bool myFlag = android::database::sqlite::my_sqlite_flag();
````

Tested by referencing an existing sqlite flag in
android_database_SQLiteConnection.cpp.  The change to that source file
is not part of this CL.

Bug: 329900153
Change-Id: I3424cdd7a88886e67ed86b7514b8abb919f9fec3
parent 132d277f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -625,6 +625,12 @@ java_aconfig_library {
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
}

cc_aconfig_library {
    name: "android.database.sqlite-aconfig-cc",
    aconfig_declarations: "android.database.sqlite-aconfig",
    host_supported: true,
}

// Biometrics
aconfig_declarations {
    name: "android.hardware.biometrics.flags-aconfig",
+1 −0
Original line number Diff line number Diff line
@@ -99,6 +99,7 @@ cc_library_shared_for_libandroid_runtime {
        "libminikin",
        "libz",
        "server_configurable_flags",
        "android.database.sqlite-aconfig-cc",
        "android.media.audiopolicy-aconfig-cc",
    ],