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

Commit f6b1b0e3 authored by Steven Ng's avatar Steven Ng Committed by Android (Google) Code Review
Browse files

Merge "Log stylus button events in PhoneWindowManager" into main

parents 1e5c0ca6 2dd4b367
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5016,6 +5016,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            case KeyEvent.KEYCODE_STYLUS_BUTTON_SECONDARY:
            case KeyEvent.KEYCODE_STYLUS_BUTTON_TERTIARY:
            case KeyEvent.KEYCODE_STYLUS_BUTTON_TAIL: {
                Slog.i(TAG, "Stylus buttons event: " + keyCode + " received. Should handle event? "
                        + mStylusButtonsEnabled);
                if (mStylusButtonsEnabled) {
                    sendSystemKeyToStatusBarAsync(event);
                }