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

Commit e5064e40 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:...

Merge "Add a missing null pointer check inside AvrcpTargetService.dump()" am: 018f17fb am: b93a757a
am: 5bc04982

Change-Id: I5475bb8cd9abb0349daa11b407edca764d81b832
parents 9959a052 5bc04982
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