am 73176865: Merge "audio service fix dock after crash - DO NOT MERGE" into jb-mr1.1-dev
* commit '73176865a595c1d09edadcb124b57b4ffbaa5c3d': audio service fix dock after crash - DO NOT MERGE
This commit is contained in:
@@ -3324,6 +3324,13 @@ public class AudioService extends IAudioService.Stub implements OnFinished {
|
||||
mBluetoothA2dpEnabled ?
|
||||
AudioSystem.FORCE_NONE : AudioSystem.FORCE_NO_BT_A2DP);
|
||||
}
|
||||
|
||||
synchronized (mSettingsLock) {
|
||||
AudioSystem.setForceUse(AudioSystem.FOR_DOCK,
|
||||
mDockAudioMediaEnabled ?
|
||||
AudioSystem.FORCE_ANALOG_DOCK : AudioSystem.FORCE_NONE);
|
||||
}
|
||||
|
||||
// indicate the end of reconfiguration phase to audio HAL
|
||||
AudioSystem.setParameters("restarting=false");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user