summaryrefslogtreecommitdiffstats
path: root/otautil/include
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-22 20:03:01 +0200
committerTao Bao <tbao@google.com>2019-05-22 20:06:26 +0200
commitfeefbf2f5698a5a56adb80a057dba0bc07050c09 (patch)
tree45ea6aa3e7a034f376969cbc45b5e0b9ab630e17 /otautil/include
parentMerge "recovery: report compliant reboot reason" (diff)
downloadandroid_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.gz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.bz2
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.lz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.xz
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.tar.zst
android_bootable_recovery-feefbf2f5698a5a56adb80a057dba0bc07050c09.zip
Diffstat (limited to 'otautil/include')
-rw-r--r--otautil/include/otautil/sysutil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/otautil/include/otautil/sysutil.h b/otautil/include/otautil/sysutil.h
index 326db8644..48e9011e5 100644
--- a/otautil/include/otautil/sysutil.h
+++ b/otautil/include/otautil/sysutil.h
@@ -102,11 +102,11 @@ class MemMapping {
};
// Reboots the device into the specified target, by additionally handling quiescent reboot mode.
-// All unknown targets reboot into Android.
+// 'target' can be an empty string, which indicates booting into Android.
bool Reboot(std::string_view target);
// Triggers a shutdown.
-bool Shutdown(std::string_view target);
+bool Shutdown();
// Returns a null-terminated char* array, where the elements point to the C-strings in the given
// vector, plus an additional nullptr at the end. This is a helper function that facilitates