summaryrefslogtreecommitdiffstats
path: root/data/etc
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-07-22 09:04:31 -0700
committerEric Laurent <elaurent@google.com>2011-07-25 18:41:12 -0700
commit6dbdc40e9a317488fc5f6e14cf9e699bce9a9387 (patch)
treeeed576356d64812249d1b021eff7f88e24bde25a /data/etc
parent6c454c3225fd47422024af915fa28d5210d1e82e (diff)
downloadframeworks_base-6dbdc40e9a317488fc5f6e14cf9e699bce9a9387.zip
frameworks_base-6dbdc40e9a317488fc5f6e14cf9e699bce9a9387.tar.gz
frameworks_base-6dbdc40e9a317488fc5f6e14cf9e699bce9a9387.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 'data/etc')
-rw-r--r--data/etc/platform.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/etc/platform.xml b/data/etc/platform.xml
index 0b8d40f..05bd626 100644
--- a/data/etc/platform.xml
+++ b/data/etc/platform.xml
@@ -159,6 +159,7 @@
<assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
<assign-permission name="android.permission.ACCESS_DRM" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="media" />
+ <assign-permission name="android.permission.WAKE_LOCK" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="graphics" />