[android] AudioFlinger cannot acquire wakelock from powermanager service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
touch-preview-images |
Invalid
|
Medium
|
Ricardo Salveti |
Bug Description
Powermanager is a JAVA based service at Android, which is responsible for exporting the acquire/release methods for general usage at the Android Platform code.
AudioFlinger needs to acquire a wakelock in order to be able to play a sound when it receives a notification and the device is suspended, otherwise the sound may not play or get interrupted during playback.
As in our case we're not yet supporting audio notifications when the device is suspended, this is not critical, but something will probably need to be supported at some point.
And due the service being exported as JAVA, we'd need to implement this acquire/release wakelocks methods via another service, which will probably be used for general power management at the device.
The log which presents this error:
W/AudioFlinger( 165): Thread AudioOut_2 cannot connect to the power manager service
This bug is being reported based on code inspection, not direct testing. It should be reproducible on the Nexus4 which actually goes into full suspend.
Changed in manhattan: | |
status: | Incomplete → Confirmed |
description: | updated |
information type: | Proprietary → Public |
affects: | manhattan → touch-preview-images |
Changed in touch-preview-images: | |
status: | Confirmed → Invalid |
I'm updating the Status to FixReleased, as I can't reproduce this behavior with phablet-image #76 ( plus updated qtubuntu ).
I caused the indicator go blue by sending text messages, and after each was received, pulled down the messaging indicator and tapped the "clear all" button. I repeated 10 times and for each, the messaging indicator had correctly reset to a white icon.