aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2017-02-24 12:07:45 -0600
committerTao Bao2017-02-24 12:16:18 -0600
commitf7f1da3fb5f0fafa856510792ccce85143c25412 (patch)
tree9246cc24b79871bebf84240941809cfb8508f2e5 /recovery.cpp
parent635eb1c83e17572d5ec904c96638d616d502610b (diff)
downloadplatform-bootable-recovery-f7f1da3fb5f0fafa856510792ccce85143c25412.tar.gz
platform-bootable-recovery-f7f1da3fb5f0fafa856510792ccce85143c25412.tar.xz
platform-bootable-recovery-f7f1da3fb5f0fafa856510792ccce85143c25412.zip
recovery: Don't show "No /cache partition found" on screen.
People have been confused by the message and thought that's an error. Test: Boot recovery on sailfish; choose 'View recovery logs'. Change-Id: I2c540f18d6493c1a129233d10ecbc96823dd3601
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 9dfe5d1b..8c214beb 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -961,7 +961,6 @@ static void choose_recovery_file(Device* device) {
961 } 961 }
962 } else { 962 } else {
963 // If cache partition is not found, view /tmp/recovery.log instead. 963 // If cache partition is not found, view /tmp/recovery.log instead.
964 ui->Print("No /cache partition found.\n");
965 if (access(TEMPORARY_LOG_FILE, R_OK) == -1) { 964 if (access(TEMPORARY_LOG_FILE, R_OK) == -1) {
966 return; 965 return;
967 } else{ 966 } else{