diff options
author | Tianjie Xu <xunchang@google.com> | 2018-12-12 01:19:08 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-12 01:19:08 +0100 |
commit | 07911574249f637df015bca00998ec0c0f7c56db (patch) | |
tree | b4c41b378f11d46e64248a4157f087bb87e82d1e /ui.h | |
parent | [automerger skipped] Import translations. DO NOT MERGE am: 00ab5cd4f7 -s ours (diff) | |
parent | Merge "Show wipe data confirmation text in recovery mode" am: c456aab7e2 (diff) | |
download | android_bootable_recovery-07911574249f637df015bca00998ec0c0f7c56db.tar android_bootable_recovery-07911574249f637df015bca00998ec0c0f7c56db.tar.gz android_bootable_recovery-07911574249f637df015bca00998ec0c0f7c56db.tar.bz2 android_bootable_recovery-07911574249f637df015bca00998ec0c0f7c56db.tar.lz android_bootable_recovery-07911574249f637df015bca00998ec0c0f7c56db.tar.xz android_bootable_recovery-07911574249f637df015bca00998ec0c0f7c56db.tar.zst android_bootable_recovery-07911574249f637df015bca00998ec0c0f7c56db.zip |
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |