summaryrefslogtreecommitdiffstats
path: root/otautil/include
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2019-05-21 19:44:14 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-21 19:44:14 +0200
commitd31fb2e7fc7dd0afef5404d52700027c755c8ff2 (patch)
treebec408ad898b3d50b8b120cf3906db49840561d3 /otautil/include
parentMerge "Add UpdaterRuntime class" (diff)
parentrecovery: report compliant reboot reason (diff)
downloadandroid_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.gz
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.bz2
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.lz
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.xz
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.tar.zst
android_bootable_recovery-d31fb2e7fc7dd0afef5404d52700027c755c8ff2.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 48e9011e5..326db8644 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.
-// 'target' can be an empty string, which indicates booting into Android.
+// All unknown targets reboot into Android.
bool Reboot(std::string_view target);
// Triggers a shutdown.
-bool Shutdown();
+bool Shutdown(std::string_view target);
// 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