commit | 654afa04273ca78f2d61b21dd04aaf54f3bb051e | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Thu May 11 14:12:33 2017 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Thu May 11 14:31:23 2017 -0700 |
tree | 11d3398c6e1e0952f9ddb159053ee6b096e74c83 | |
parent | 2f35206b77dd7d8a8c761e0a81ea327c10787036 [diff] |
Audio policy: use SPEAKER_SAFE device for alarms and ringtones Use AUDIO_DEVICE_OUT_SPEAKER_SAFE when available for STRATEGY_SONIFICATION instead of AUDIO_DEVICE_OUT_SPEAKER. It is alrady the case for STRATEGY_SONIFICATION_RESPECTFUL (notifications). Test: play an alarm on a device with SPEAKER_SAFE in the policy conf, verify routing matches mixer path Bug: 35675592 Change-Id: I03a4f4238a1ac73165d44f72e4e587b31ec88cc5