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:
@ -1210,6 +1210,9 @@ public class AudioManager {
|
||||
* @hide
|
||||
*/
|
||||
public void forceVolumeControlStream(int streamType) {
|
||||
if (mUseMasterVolume) {
|
||||
return;
|
||||
}
|
||||
IAudioService service = getService();
|
||||
try {
|
||||
service.forceVolumeControlStream(streamType, mICallBack);
|
||||
|
Reference in New Issue
Block a user