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

Commit 2d6c9bb1 authored by Vladislav Koldobskiy's avatar Vladislav Koldobskiy
Browse files

Fix Home/Menu/Back keys' unlock

Change-Id: Id2bf457261619f64cf8717e2f18cf9775159921a
parent af153914
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -229,14 +229,17 @@ public class KeyguardViewManager {
                    if (mKeyguardView.handleBackKey()) {
                    if (mKeyguardView.handleBackKey()) {
                        return true;
                        return true;
                    }
                    }
                    break;
                case KeyEvent.KEYCODE_HOME:
                case KeyEvent.KEYCODE_HOME:
                    if (mKeyguardView.handleHomeKey()) {
                    if (mKeyguardView.handleHomeKey()) {
                        return true;
                        return true;
                    }
                    }
                    break;
                case KeyEvent.KEYCODE_MENU:
                case KeyEvent.KEYCODE_MENU:
                    if (mKeyguardView.handleMenuKey()) {
                    if (mKeyguardView.handleMenuKey()) {
                        return true;
                        return true;
                    }
                    }
                    break;
            }
            }
        }
        }
        return false;
        return false;