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

Commit 1c8d31a8 authored by jiabin's avatar jiabin Committed by Jiabin Huang
Browse files

Use setHapticChannelsMuted as the name of the API has changed.

Test: make
Bug: 130247632
Change-Id: Iff84360a7beb0196daf3c6d3fdcb2571030bf2cb
parent 205ca176
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ public class AsyncRingtonePlayer {
                    Log.i(this, "handlePlay: muting haptic channel");
                    mRingtone.setAudioAttributes(
                            new AudioAttributes.Builder()
                                .setMuteHapticChannels(true)
                                .setHapticChannelsMuted(true)
                                .build());
                }
                mHapticsFuture.complete(hasHaptics);