summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-02 23:49:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-02 23:49:56 +0200
commit1875991c71586c7902288dcb2dd323b75cc754d0 (patch)
treec093a96e135d9c048dca319f8c236c29bc28d3f4 /recovery.cpp
parentMerge "Add ScreenRecoveryUI::ShowMenu()." am: cac3ec3513 (diff)
parentMerge "screen_ui: Drop the dependency on common.h." (diff)
downloadandroid_bootable_recovery-1875991c71586c7902288dcb2dd323b75cc754d0.tar
android_bootable_recovery-1875991c71586c7902288dcb2dd323b75cc754d0.tar.gz
android_bootable_recovery-1875991c71586c7902288dcb2dd323b75cc754d0.tar.bz2
android_bootable_recovery-1875991c71586c7902288dcb2dd323b75cc754d0.tar.lz
android_bootable_recovery-1875991c71586c7902288dcb2dd323b75cc754d0.tar.xz
android_bootable_recovery-1875991c71586c7902288dcb2dd323b75cc754d0.tar.zst
android_bootable_recovery-1875991c71586c7902288dcb2dd323b75cc754d0.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 4259c8348..f820373bf 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -820,7 +820,7 @@ static void choose_recovery_file(Device* device) {
std::bind(&Device::HandleMenuKey, device, std::placeholders::_1, std::placeholders::_2));
if (entries[chosen_item] == "Back") break;
- ui->ShowFile(entries[chosen_item].c_str());
+ ui->ShowFile(entries[chosen_item]);
}
}