summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2019-04-05 16:00:00 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-04-05 16:00:00 +0000
commitf83192de7927cdd0f5a7f39da5a382f41f059963 (patch)
treee03d70c24e4ff317dc1dab7e0e27951a0f5caf2a
parent3b74731f4e67c60bd727f5a050a47fef3ec46d68 (diff)
parentc9d353dcf8d7d6c2216353bc65977a5349796c09 (diff)
Merge "Revert "Revert "Mute haptic channels by default.""" into qt-dev
-rw-r--r--media/java/android/media/AudioAttributes.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/java/android/media/AudioAttributes.java b/media/java/android/media/AudioAttributes.java
index 55f1911119f4..3a336780b465 100644
--- a/media/java/android/media/AudioAttributes.java
+++ b/media/java/android/media/AudioAttributes.java
@@ -558,7 +558,7 @@ public final class AudioAttributes implements Parcelable {
private int mContentType = CONTENT_TYPE_UNKNOWN;
private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
private int mFlags = 0x0;
- private boolean mMuteHapticChannels = false;
+ private boolean mMuteHapticChannels = true;
private HashSet<String> mTags = new HashSet<String>();
private Bundle mBundle;
@@ -889,7 +889,7 @@ public final class AudioAttributes implements Parcelable {
/**
* 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.
* @return the same Builder instance.
*/