Follow vdc naming convention: earlyBootEnded

vdc commands use camelCase, not kebab-case.

Test: EarlyBootKeyTest.CannotCreateEarlyBootKeys
Change-Id: I7be4d3008a731829e5d5e025216cb2ade238a530
This commit is contained in:
Paul Crowley 2020-12-01 14:36:06 -08:00
parent c237cbc575
commit ed06b3eabe

View file

@ -152,7 +152,7 @@ int main(int argc, char** argv) {
checkStatus(args, vold->abortChanges(args[2], retry != 0)); checkStatus(args, vold->abortChanges(args[2], retry != 0));
} else if (args[0] == "checkpoint" && args[1] == "resetCheckpoint") { } else if (args[0] == "checkpoint" && args[1] == "resetCheckpoint") {
checkStatus(args, vold->resetCheckpoint()); checkStatus(args, vold->resetCheckpoint());
} else if (args[0] == "keymaster" && args[1] == "early-boot-ended") { } else if (args[0] == "keymaster" && args[1] == "earlyBootEnded") {
checkStatus(args, vold->earlyBootEnded()); checkStatus(args, vold->earlyBootEnded());
} else { } else {
LOG(ERROR) << "Raw commands are no longer supported"; LOG(ERROR) << "Raw commands are no longer supported";