diff options
author | Eric Laurent <elaurent@google.com> | 2011-07-22 09:04:31 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-07-25 18:41:12 -0700 |
commit | feb0db689c17dced50afaee54c659f1676e2d505 (patch) | |
tree | a949f6cb66c3c5886cd0682fcb3781b0fd5db0a8 /services/audioflinger/Android.mk | |
parent | 288b66b60c9b3af3d84408885d0a4030c45eea9a (diff) | |
download | frameworks_av-feb0db689c17dced50afaee54c659f1676e2d505.zip frameworks_av-feb0db689c17dced50afaee54c659f1676e2d505.tar.gz frameworks_av-feb0db689c17dced50afaee54c659f1676e2d505.tar.bz2 |
Fix issue 4604090: notification sound interrupted.
The problem is that the audio HAL fails to acquire the wake lock when playing the notification.
This is because of a change that removed the mediaserver process form the system group for honeycomb.
The fix consists in requesting the wake lock from PowerManagerService when AudioFlinger mixer
wakes up.
A consequence of this change is that audio HALs or pcm drivers do not have to hold wake locks
anymore as in the past.
Change-Id: I4fb3cc84816c9c408ab7fec75886baf801e1ecb5
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r-- | services/audioflinger/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk index a0407b9..fa49592 100644 --- a/services/audioflinger/Android.mk +++ b/services/audioflinger/Android.mk @@ -21,7 +21,8 @@ LOCAL_SHARED_LIBRARIES := \ libhardware \ libhardware_legacy \ libeffects \ - libdl + libdl \ + libpowermanager LOCAL_STATIC_LIBRARIES := \ libcpustats \ |