diff options
author | Tianjie Xu <xunchang@google.com> | 2018-10-23 20:16:23 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-10-23 20:16:23 +0200 |
commit | 06ccd00ef5bfa36f8f0d508df77f747aa099eabf (patch) | |
tree | e68e20918057d4c1f88189edb49bcabad066535c /ui.h | |
parent | Merge "minui: Move GRSurface into a class." (diff) | |
parent | Add function to show localized rescue party menu (diff) | |
download | android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.gz android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.bz2 android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.lz android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.xz android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.zst android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.zip |
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -162,6 +162,13 @@ class RecoveryUI { const std::vector<std::string>& items, size_t initial_selection, bool menu_only, const std::function<int(int, bool)>& key_handler) = 0; + // Displays the localized wipe data menu with pre-generated graphs. If there's an issue + // with the graphs, falls back to use the backup string headers and items instead. The initial + // selection is the 0th item in the menu, which is expected to reboot the device without a wipe. + virtual size_t ShowPromptWipeDataMenu(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; |