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

Commit e7a0bc01 authored by Neel Parekh's avatar Neel Parekh Committed by Android (Google) Code Review
Browse files

Merge "Prevent NPE when registering a remote control client"

parents 3b0ae45c 8d4ed0d8
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;
            }