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

Commit b70a7314 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: Ife9de2cf1eec7537081be01d4903927589bc6919
parents 9f757de1 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) {