recovery: Add option to view recovery logs on Fugu
Change-Id: Ia9e025bcd70f81b8d7424fa933ac66a120c7fd53
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 @@
"apply update from ADB",
"wipe data/factory reset",
"wipe cache partition",
+ "view recovery logs",
NULL };
#define kFBDevice "/dev/graphics/fb0"
@@ -313,6 +314,7 @@
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;
}
}