Do not perform forceVolumeControlStream in master volume mode

The method should be no-op when in master volume mode.

Bug: 18250921

Change-Id: Iaab806db935ef97aa1124c3447e228d3eaef7584
This commit is contained in:
Jinsuk Kim
2014-11-26 16:57:08 +09:00
parent 8ae8500365
commit 57d766f533

View File

@ -1210,6 +1210,9 @@ public class AudioManager {
* @hide
*/
public void forceVolumeControlStream(int streamType) {
if (mUseMasterVolume) {
return;
}
IAudioService service = getService();
try {
service.forceVolumeControlStream(streamType, mICallBack);