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

Commit 018afaae authored by Jin Seok Park's avatar Jin Seok Park Committed by Android (Google) Code Review
Browse files

Merge "[Media ML] Sync with original implementation" into rvc-dev

parents 15522541 abf0adc5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2572,6 +2572,9 @@ public class MediaSessionService extends SystemService implements Monitor {
                    }
                } else {
                    if (mKeyType == KEY_TYPE_VOLUME) {
                        if (isFirstLongPressKeyEvent(keyEvent)) {
                            dispatchVolumeKeyLongPressLocked(mTrackingFirstDownKeyEvent);
                        }
                        dispatchVolumeKeyLongPressLocked(keyEvent);
                    } else if (isFirstLongPressKeyEvent(keyEvent)
                            && isVoiceKey(keyEvent.getKeyCode())) {