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

Commit 800070ae authored by Etienne Ruffieux's avatar Etienne Ruffieux Committed by Automerger Merge Worker
Browse files

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

parents 0bd6964a 97ceac8d
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);
    }