commit | aab5b08cb4a3b5a47daece6168f41ec918020739 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Oct 08 09:22:31 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Tue Oct 08 09:22:31 2013 -0700 |
tree | 2bdd66104a1e3a30d2449d2c2b640263ac64ae17 | |
parent | fee4ce338d78eeb58af1f66831ead53322d3859e [diff] |
AwesomePlayer: do not send events when paused. When streaming audio and paused, AwesomePlayer should stop sending BufferingEvents as they will keep a wake lock for no reason. TimedEventQueue should always acquire the wakelock with mediaserver identity so that it is released with the same identity by the event handler thread. Bug: 11104408. Change-Id: Ied0e03acd6ad2f5a4c0ec82d5c2aa4e1c6da772c