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

Commit 0d670324 authored by Zhi Dou's avatar Zhi Dou
Browse files

aconfig:add system_ext in the platform list

system_ext is added back as a separate partition on the device. Missing
it from the list the generated code will use AconfigPackage instead of
the PlatforAconfigPackage to access the flag value.

Test: m com_android_launcher3_flags_lib and check the generated code
uses the right class
Bug: 402133645

Change-Id: Ibc0bce78ec4c540be12f32418d4d241e20aacbc5
parent 47f65b9b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -59,7 +59,8 @@ where
    let runtime_lookup_required =
    let runtime_lookup_required =
        flag_elements.iter().any(|elem| elem.is_read_write) || library_exported;
        flag_elements.iter().any(|elem| elem.is_read_write) || library_exported;
    let container = (flag_elements.first().expect("zero template flags").container).to_string();
    let container = (flag_elements.first().expect("zero template flags").container).to_string();
    let is_platform_container = matches!(container.as_str(), "system" | "product" | "vendor");
    let is_platform_container =
        matches!(container.as_str(), "system" | "system_ext" | "product" | "vendor");
    let context = Context {
    let context = Context {
        flag_elements,
        flag_elements,
        namespace_flags,
        namespace_flags,