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

Commit 0a65df6e authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

NotificationPlayer: fix debug log error

Debug log was calling getPlayerIId() on nullable MediaPlayer
(and the wrong instance).

Bug: 341232504
Test: n/a debug log error
Flag: EXEMPT bugfix
Change-Id: Iafbbc66fc71779a1b548675e17d2af571f69c084
parent 37230d65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ public class NotificationPlayer implements OnCompletionListener, OnErrorListener
                }
                if (mp != null) {
                    if (DEBUG) {
                        Log.d(mTag, "mPlayer.pause+release piid:" + player.getPlayerIId());
                        Log.d(mTag, "mp.pause+release piid:" + mp.getPlayerIId());
                    }
                    mp.pause();
                    try {