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

Commit b0f40861 authored by Jaewan Kim's avatar Jaewan Kim Committed by android-build-merger
Browse files

Merge "MediaSessionService: Fix NPE" into pi-dev

am: 2aac6195

Change-Id: I5118601600aeac9ac464e5922524aa4f8261bc70
parents 39c8fe12 2aac6195
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -781,6 +781,9 @@ public class MediaSessionService extends SystemService implements Monitor {
    }

    private void dispatchVolumeKeyLongPressLocked(KeyEvent keyEvent) {
        if (mCurrentFullUserRecord.mOnVolumeKeyLongPressListener == null) {
            return;
        }
        try {
            mCurrentFullUserRecord.mOnVolumeKeyLongPressListener.onVolumeKeyLongPress(keyEvent);
        } catch (RemoteException e) {