Add wakelock to audio HAL. Bug 2218158.
Applications are supposed to hold a wakelock. However, since 1.0, the audio driver and/or HAL has held a partial wakelock. That means that many apps will be broken if we don't hold a wakelock while audio is playing. This patch holds a wakelock while the audio driver is open and releases it when it goes to standby mode.
This commit is contained in:
parent
52af604c93
commit
61e76b47a1