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

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

Merge "MediaSessionService: Fix NPE" into pi-dev am: 2aac6195

am: b0f40861

Change-Id: I5f3ee69673f9fcf1752306b1d2c3c2f79a4330f3
parents a11cbf36 b0f40861
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) {