mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Add buffer result for generating vendor configs" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
089d39f69c
@@ -1087,9 +1087,11 @@ DumpResult FakeVehicleHardware::dump(const std::vector<std::string>& options) {
|
||||
} else if (EqualsIgnoreCase(option, "--genTestVendorConfigs")) {
|
||||
mAddExtraTestVendorConfigs = true;
|
||||
result.refreshPropertyConfigs = true;
|
||||
result.buffer = "successfully generated vendor configs";
|
||||
} else if (EqualsIgnoreCase(option, "--restoreVendorConfigs")) {
|
||||
mAddExtraTestVendorConfigs = false;
|
||||
result.refreshPropertyConfigs = true;
|
||||
result.buffer = "successfully restored vendor configs";
|
||||
} else {
|
||||
result.buffer = StringPrintf("Invalid option: %s\n", option.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user