commit | 8706a98aa635236a95795f0a0c122bb3e591a50d | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Tue Apr 18 08:28:26 2017 -0700 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Wed Apr 19 14:43:08 2017 -0700 |
tree | 133e90784e5115282067ed38c1e5919a3a033b7c | |
parent | ba3f078f6f00ce4dd4070741fc4e05b58e1d918b [diff] [blame] |
Adding support for quiescent reboot to recovery Bug: 37401320 Test: build and push OTA and hit adb reboot recovery,quiescent. The screen should remain off throughout the upgrade process. Change-Id: Ibed3795c09e26c4fa73684d40b94e40c78394d3f
diff --git a/common.h b/common.h index bda7935..62fb132 100644 --- a/common.h +++ b/common.h
@@ -43,4 +43,6 @@ bool is_ro_debuggable(); +bool reboot(const std::string& command); + #endif // RECOVERY_COMMON_H