diff options
-rw-r--r-- | recovery/recovery_ui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recovery/recovery_ui.cpp b/recovery/recovery_ui.cpp index ec5a996..6293d8f 100644 --- a/recovery/recovery_ui.cpp +++ b/recovery/recovery_ui.cpp @@ -44,6 +44,7 @@ static const char* ITEMS[] = {"reboot system now", "apply update from ADB", "wipe data/factory reset", "wipe cache partition", + "view recovery logs", NULL }; #define kFBDevice "/dev/graphics/fb0" @@ -313,6 +314,7 @@ class FuguDevice : public Device { case 1: return APPLY_ADB_SIDELOAD; case 2: return WIPE_DATA; case 3: return WIPE_CACHE; + case 4: return READ_RECOVERY_LASTLOG; default: return NO_ACTION; } } |