summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-10-26 00:22:07 +0200
committerTianjie Xu <xunchang@google.com>2018-12-12 00:23:41 +0100
commit1a0a30a16a8071c59e265f52de60dedc54d31bd9 (patch)
treeb4c41b378f11d46e64248a4157f087bb87e82d1e /ui.h
parentMerge "tests: Temporarily disable ScreenRecoveryUITest tests." (diff)
downloadandroid_bootable_recovery-1a0a30a16a8071c59e265f52de60dedc54d31bd9.tar
android_bootable_recovery-1a0a30a16a8071c59e265f52de60dedc54d31bd9.tar.gz
android_bootable_recovery-1a0a30a16a8071c59e265f52de60dedc54d31bd9.tar.bz2
android_bootable_recovery-1a0a30a16a8071c59e265f52de60dedc54d31bd9.tar.lz
android_bootable_recovery-1a0a30a16a8071c59e265f52de60dedc54d31bd9.tar.xz
android_bootable_recovery-1a0a30a16a8071c59e265f52de60dedc54d31bd9.tar.zst
android_bootable_recovery-1a0a30a16a8071c59e265f52de60dedc54d31bd9.zip
Diffstat (limited to '')
-rw-r--r--ui.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 1e6186a11..4924fec52 100644
--- a/ui.h
+++ b/ui.h
@@ -169,6 +169,13 @@ class RecoveryUI {
const std::vector<std::string>& backup_items,
const std::function<int(int, bool)>& key_handler) = 0;
+ // Displays the localized wipe data confirmation menu with pre-generated images. Falls back to
+ // the text strings upon failures. The initial selection is the 0th item, which returns to the
+ // upper level menu.
+ virtual size_t ShowPromptWipeDataConfirmationMenu(
+ const std::vector<std::string>& backup_headers, const std::vector<std::string>& backup_items,
+ const std::function<int(int, bool)>& key_handler) = 0;
+
// Resets the key interrupt status.
void ResetKeyInterruptStatus() {
key_interrupted_ = false;