oldIndex = streamState.getIndex(device);
- index = rescaleIndex(index * 10, streamType, streamTypeAlias);
-
if (streamTypeAlias == AudioSystem.STREAM_MUSIC &&
(device & AudioSystem.DEVICE_OUT_ALL_A2DP) != 0 &&
(flags & AudioManager.FLAG_BLUETOOTH_ABS_VOLUME) == 0) {
}
}
+ index = rescaleIndex(index * 10, streamType, streamTypeAlias);
+
flags &= ~AudioManager.FLAG_FIXED_VOLUME;
if ((streamTypeAlias == AudioSystem.STREAM_MUSIC) &&
((device & mFixedVolumeDevices) != 0)) {