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

Commit 97ceac8d authored by Etienne Ruffieux's avatar Etienne Ruffieux Committed by Automerger Merge Worker
Browse files

Merge "Fix crash in AvrcpTargetService PlayerSettings" am: 91c1d5a8

parents 3909557e 91c1d5a8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -504,6 +504,11 @@ public class AvrcpTargetService extends ProfileService {
     * Called from player callback to indicate new settings to remote device.
     */
    public void sendPlayerSettings(int repeatMode, int shuffleMode) {
        if (mNativeInterface == null) {
            Log.i(TAG, "Tried to send Player Settings while native interface is null");
            return;
        }

        mNativeInterface.sendPlayerSettings(repeatMode, shuffleMode);
    }