commit | 178683baaf6fd23d80ce926cee103b3af8f9a9a8 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Wed Aug 30 18:07:06 2017 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed Aug 30 18:23:14 2017 -0700 |
tree | f2911079deed6c66d5d7b2f0445ffde014d4fafd | |
parent | aba0e98b085cc613003bf42dbfe1ad0a3bb2348e [diff] |
APM: invert priority of sonification and enforced routing strategies On device where the SONIFICATION (alarm, ringtone) strategy is supported by SPEAKER_SAFE, prevent switching output devices when the ENFORCED_AUDIBLE (shutter sound) strategy starts by having SONIFICATION at a higher priority than ENFORCED_AUDIBLE. Test: take photos while phone rings Bug: 64386853 Change-Id: I2f7bb45599bd51b2142611eefb84789a985e8841