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

Commit b93a757a authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Add a missing null pointer check inside AvrcpTargetService.dump()"

am: 018f17fb

Change-Id: If2260e4f9654a09d7ae32cc0013fc4d6549b31bf
parents be83717e 018f17fb
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -273,7 +273,11 @@ public class AvrcpTargetService extends ProfileService {
     * Dump debugging information to the string builder
     */
    public void dump(StringBuilder sb) {
        if (mMediaPlayerList != null) {
            mMediaPlayerList.dump(sb);
        } else {
            sb.append("\nMedia Player List is empty\n");
        }
    }

    private static class AvrcpTargetBinder extends IBluetoothAvrcpTarget.Stub