Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1ddf973 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "recovery: Remember the last log position." am: d549616b

am: 6691dacf

Change-Id: If020fcbe02e879e96b1b6481c1aae4029785483e
parents 43248cc3 6691dacf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -972,8 +972,9 @@ static void choose_recovery_file(Device* device) {

    const char* headers[] = { "Select file to view", nullptr };

    int chosen_item = 0;
    while (true) {
        int chosen_item = get_menu_selection(headers, entries, 1, 0, device);
        chosen_item = get_menu_selection(headers, entries, 1, chosen_item, device);
        if (strcmp(entries[chosen_item], "Back") == 0) break;

        ui->ShowFile(entries[chosen_item]);