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

Commit 2118cc30 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Mute haptic channels by default."

parents a1189dcf 48af5aee
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -557,7 +557,7 @@ public final class AudioAttributes implements Parcelable {
        private int mContentType = CONTENT_TYPE_UNKNOWN;
        private int mContentType = CONTENT_TYPE_UNKNOWN;
        private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
        private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
        private int mFlags = 0x0;
        private int mFlags = 0x0;
        private boolean mMuteHapticChannels = false;
        private boolean mMuteHapticChannels = true;
        private HashSet<String> mTags = new HashSet<String>();
        private HashSet<String> mTags = new HashSet<String>();
        private Bundle mBundle;
        private Bundle mBundle;


@@ -888,7 +888,7 @@ public final class AudioAttributes implements Parcelable {


        /**
        /**
         * Specifying if haptic should be muted or not when playing audio-haptic coupled data.
         * Specifying if haptic should be muted or not when playing audio-haptic coupled data.
         * By default, haptic channels are enabled.
         * By default, haptic channels are disabled.
         * @param muted true to force muting haptic channels.
         * @param muted true to force muting haptic channels.
         * @return the same Builder instance.
         * @return the same Builder instance.
         */
         */