Merge "Add property to prevent commit for Vts test"

gugelfrei
Treehugger Robot 5 years ago committed by Gerrit Code Review
commit 5bcfb5bf45

@ -150,6 +150,11 @@ Status cp_commitChanges() {
if (!isCheckpointing) {
return Status::ok();
}
if (android::base::GetProperty("persist.vold.dont_commit_checkpoint", "0") == "1") {
LOG(WARNING)
<< "NOT COMMITTING CHECKPOINT BECAUSE persist.vold.dont_commit_checkpoint IS 1";
return Status::ok();
}
sp<IBootControl> module = IBootControl::getService();
if (module) {
CommandResult cr;

Loading…
Cancel
Save