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

Commit 28204a76 authored by RoboErik's avatar RoboErik
Browse files

return false for media keys if no controller

bug:16311395
Change-Id: I4cde865858f99a9159abc181cc987fbd9866025b
parent 9142a0f8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1729,6 +1729,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
                        return true;
                    }
                }
                return false;
            }

            case KeyEvent.KEYCODE_MENU: {
@@ -1822,6 +1823,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
                        return true;
                    }
                }
                return false;
            }

            case KeyEvent.KEYCODE_MENU: {