Merge "Add property to prevent commit for Vts test"
am: 5bcfb5bf45
Change-Id: Ic6b0e863fb9c6ddea2cb19390a9520c3c87cf704
This commit is contained in:
commit
3507d68556
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue