Revert "Mute haptic channels by default."
This reverts commit 48af5aeeba.
No idea on how this simple CL can cause this problem but A/B tests
and bisection show that the problem disabpears when reverted.
Bug: 129721367
Test: no repro on build with revert.
Change-Id: I13e3d788d255c4b6e873bb1e9ce2cf92d2a18e41
This commit is contained in:
@@ -557,7 +557,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 = true;
|
||||
private boolean mMuteHapticChannels = false;
|
||||
private HashSet<String> mTags = new HashSet<String>();
|
||||
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.
|
||||
* By default, haptic channels are disabled.
|
||||
* By default, haptic channels are enabled.
|
||||
* @param muted true to force muting haptic channels.
|
||||
* @return the same Builder instance.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user