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

Commit c87240cd authored by Michael Bestas's avatar Michael Bestas
Browse files

ui: Also detect KEY_HOME

* KEY_HOME is used in a lot of devices instead of KEY_HOMEPAGE

Ticket: RM-208
Change-Id: I18ec415b4d7e5e1f97a88640b820c64dbc8bb634
(cherry picked from commit 17102a27)
parent 8602f06c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
    }