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

Commit 4ab057a7 authored by Geoffrey Boullanger's avatar Geoffrey Boullanger
Browse files

Adding Aconfig flag to expose time zone APIs

This change also introduces a new aconfig file for android.timezone.*

Flag: android.timezone.flags.expose_time_zone_system_api
Test: Added the flag to CountryTimeZones.java in an if statement, then built system.img
Bug: 432239933
Bug: 432471550
Change-Id: Id69e175979027195e644c67a5e7894162b173197
parent a04dfd0a
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -134,6 +134,7 @@ aconfig_declarations_group {
        "surfaceflinger_flags_java_lib",
        "telecom_flags_core_java_lib",
        "telephony_flags_core_java_lib",
        "timezone_flags_core_java_lib",
        // !!! KEEP THIS LIST ALPHABETICAL !!!
    ],
}
@@ -263,6 +264,20 @@ cc_aconfig_library {
    aconfig_declarations: "telephony_flags",
}

// Timezone
aconfig_declarations {
    name: "timezone_flags",
    package: "android.timezone.flags",
    container: "system",
    srcs: ["core/java/android/timezone/flags/flags.aconfig"],
}

java_aconfig_library {
    name: "timezone_flags_core_java_lib",
    aconfig_declarations: "timezone_flags",
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
}

// Window
aconfig_declarations {
    name: "com.android.window.flags.window-aconfig",
+11 −0
Original line number Diff line number Diff line
package: "android.timezone.flags"
container: "system"


flag {
    name: "expose_time_zone_system_api"
    # "location" is used by the Android System Time team for feature flags.
    namespace: "location"
    description: "Turn time zone methods into system APIs for mainline modules"
    bug: "432239933"
}
 No newline at end of file