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