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

Commit c6fdb3d6 authored by Wei Jia's avatar Wei Jia Committed by android-build-merger
Browse files

MediaPlayerService: allow next player to be NULL am: 28284127 am: f4e00a7c...

MediaPlayerService: allow next player to be NULL am: 28284127 am: f4e00a7c am: 0dd714e4 am: de97dbd6
am: a7549d3d

Change-Id: I56c379ef39b1fd80493798de79a61db140646c50
parents 82bc8c45 a7549d3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1014,7 +1014,7 @@ status_t MediaPlayerService::Client::setNextPlayer(const sp<IMediaPlayer>& playe
    ALOGV("setNextPlayer");
    Mutex::Autolock l(mLock);
    sp<Client> c = static_cast<Client*>(player.get());
    if (!mService->hasClient(c)) {
    if (c != NULL && !mService->hasClient(c)) {
      return BAD_VALUE;
    }