summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.cpp b/ui.cpp
index d28ede5..d1eca91 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -162,7 +162,7 @@ void RecoveryUI::OnKeyDetected(int key_code) {
} else if (key_code == KEY_BACK) {
has_back_key = true;
LOGI("Detected back key, disabling virtual back button\n");
- } else if (key_code == KEY_HOMEPAGE) {
+ } else if (key_code == KEY_HOMEPAGE || key_code == KEY_HOME) {
has_home_key = true;
LOGI("Detected home key, disabling virtual home button\n");
}