Copy flags except MUTE_HAPTIC in setLegacyStreamType.
FLAG_MUTE_HAPTIC will be set in AudioAttributes.mFlags. But it should only be controlled by mMuteHapticChannels in AudioAttributes.Builder. When copying flags in AudioAttributes.Builder, FLAG_MUTE_HAPTIC should be ignored. Bug: 138807243 Test: run SoundPoolHapticTest Change-Id: I21395399746353b947355b89e5dbd379f42f5d20
Loading
Please register or sign in to comment