Add property to prevent commit for Vts test am: 3f1ce062d5
am: 1289741942
Change-Id: Ib0420dfa4a810e4a55a7370e146df67cef735fa9
This commit is contained in:
commit
ff067f8f45
1 changed files with 5 additions and 0 deletions
|
@ -149,6 +149,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