commit | 950e8cb40a6d826af4cc2eef9d3908c1b70486e6 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Oct 13 08:57:54 2011 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Oct 14 11:40:24 2011 -0700 |
tree | d9afa821e1459d33cc815923466b5300a3844aec | |
parent | e6fee18d16a86c266afef48f7705268435a99111 [diff] |
Indicate screen off condition to audio framework. Add a mechanism for AudioService to notify audio framework and audio HAL that screen is turned on or off. This indication can be used by lower audio layers to trigger low power audio playback mode. Current implementaiton based on setParameters() method is experimental and will be replaced by a different interface when ready. Change-Id: Ie72ada0a8edec3d71b47681b9f51cb5bc839d45b