commit | 1f9196a8e5de9b004e61afabc70b18caf7cf9c7e | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Thu Jul 26 15:11:07 2012 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Fri Jul 27 11:34:02 2012 -0700 |
tree | 36b043758d64667a6c62e397ec63978494ffdde3 | |
parent | 527d14dc3c2fd72f1cdfaaa7e249456778fe93e4 [diff] |
Relax rules for media apps to stay on RemoteControlDisplay The playback of notification would make the display of the RemoteControlClient disappear from the lockscreen. Fixed by modifying which AudioFocus owner to consider when reevaluating how the RemoteControlDisplay needs to be updated: use the first (starting from the top of the AudioFocus stack) that uses STREAM_MUSIC, or that uses any other stream type for a short period. Change-Id: Id7cef00c5eed1f6ebfa59634eea8e2c9b2f3f5eb