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

Commit 8d4ed0d8 authored by Neel Parekh's avatar Neel Parekh
Browse files

Prevent NPE when registering a remote control client

Change-Id: Ia22b456b1cbdd89736118c7e68b7c68dd6e59c64
parent 930740d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3127,7 +3127,7 @@ public class AudioService extends IAudioService.Stub {
            return;
        }
        synchronized(mCurrentRcLock) {
            if (!mCurrentRcClientRef.get().equals(rcse.mRcClientRef.get())) {
            if (!rcse.mRcClientRef.get().equals(mCurrentRcClientRef.get())) {
                // new RC client, assume every type of information shall be queried
                mCurrentRcClientInfoFlags = RC_INFO_ALL;
            }