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

Commit 629e78c1 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
am: c6fdb3d6

Change-Id: I6e1cb16e9c281bda0375f552aab01b2ee069c14b
parents 6f8e939c c6fdb3d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1000,7 +1000,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;
    }