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

Commit 80056a67 authored by Dennis Shen's avatar Dennis Shen Committed by Automerger Merge Worker
Browse files

Merge "aconfig: add a flag for launching aconfigd from mainline" into main am:...

Merge "aconfig: add a flag for launching aconfigd from mainline" into main am: 1ee096e0 am: 17fec353

Original change: https://android-review.googlesource.com/c/platform/build/+/3283847



Change-Id: I9448c02935f7af04912a863304bb29f8c2c33df2
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 085fcf0c 17fec353
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -7,3 +7,10 @@ flag {
  bug: "312235596"
  description: "When enabled, aconfig flags are read from the new aconfig storage only."
}

flag {
  name: "enable_aconfigd_from_mainline"
  namespace: "core_experiments_team_internal"
  bug: "369808805"
  description: "When enabled, launch aconfigd from config infra module."
}
+11 −0
Original line number Diff line number Diff line
@@ -34,6 +34,11 @@ pub mod auto_generated {
    pub fn enable_only_new_storage() -> bool {
        aconfig_flags_rust::enable_only_new_storage()
    }

    /// Returns the value for the enable_aconfigd_from_mainline flag.
    pub fn enable_aconfigd_from_mainline() -> bool {
        aconfig_flags_rust::enable_only_new_storage()
    }
}

/// Module used when building with cargo
@@ -44,4 +49,10 @@ pub mod auto_generated {
        // Used only to enable typechecking and testing with cargo
        true
    }

    /// Returns a placeholder value for the enable_aconfigd_from_mainline flag.
    pub fn enable_aconfigd_from_mainline() -> bool {
        // Used only to enable typechecking and testing with cargo
        true
    }
}