commit | 646679779a8f952980a5d4219ad9c6f93efc4b92 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Mar 30 18:19:46 2016 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Mar 30 18:19:46 2016 -0700 |
tree | 5724d8865f5060b1e60ed5744279fcb0790493cd | |
parent | 029aaa6887a86185c451b615fadcfd97b008e9b5 [diff] |
audioflinger: keep wakelock during offload playback Add a system property ro.audio.offload_wakelock to select if a wakelock should be kept during offload playback while waiting for write completion callback. The default is yes, keep the wakelock. On some platforms, the cost of entering or exiting suspend is so high that is it better to not release a wakelock at all rather than releasing it periodically. Bug: 26208297 Change-Id: Ib41c7e4ed9c8c0c063363eb9fe99a2ecc81b521b