aconfig: remove support for --format=bool am: 3d76d1afe0
am: b12dfaffe2
Original change: https://android-review.googlesource.com/c/platform/build/+/2882366 Change-Id: I3073117234d2f6348754903dfb064ce46385bcfd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -45,7 +45,6 @@ impl TryFrom<&str> for DumpFormat {
|
||||
"{fully_qualified_name} [{container}]: {permission} + {state} ({trace:paths})"
|
||||
.to_owned(),
|
||||
)),
|
||||
"bool" => Ok(Self::Custom("{fully_qualified_name}={state:bool}".to_owned())),
|
||||
|
||||
// custom format
|
||||
_ => Ok(Self::Custom(value.to_owned())),
|
||||
@@ -280,10 +279,6 @@ mod tests {
|
||||
"verbose",
|
||||
"com.android.aconfig.test.enabled_ro [system]: READ_ONLY + ENABLED (tests/test.aconfig, tests/first.values, tests/second.values)"
|
||||
);
|
||||
assert_dump_parsed_flags_custom_format_contains!(
|
||||
"bool",
|
||||
"com.android.aconfig.test.enabled_ro=true"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user