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

Commit 018f17fb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 92790707 666ea968
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