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

Commit 2e73101d authored by Terry Guan's avatar Terry Guan Committed by Android (Google) Code Review
Browse files

Merge "Add buffer result for generating vendor configs" into udc-qpr-dev

parents 7ea65f79 88eb9d0f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -990,9 +990,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());
    }