commit | bdffe798d762566626c161a613db777e80d9a786 | [log] [tgz] |
---|---|---|
author | Ian Lake <ilake@google.com> | Mon Apr 27 15:42:36 2015 -0700 |
committer | Ian Lake <ilake@google.com> | Mon Apr 27 15:56:23 2015 -0700 |
tree | 821e1b1f2fcaba5301eda5a448368cf85053ab47 | |
parent | 8c99f3a5a6464d8b4d5cbd811b399cbee98cef39 [diff] |
Add Lollipop+ playback states to PlaybackStateCompat Adds support for passing STATE_CONNECTING and STATE_SKIPPING_TO_QUEUE_ITEM to PlaybackStateCompat to ensure full compatibility with the framework PlaybackState. On <API 21, STATE_SKIPPING_TO_QUEUE_ITEM is converted to STATE_SKIPPING_TO_NEXT as the closest equivalent. Note that existing code converted STATE_CONNECTING to STATE_BUFFERING - STATE_CONNECTING is now just unhidden. Change-Id: I8884e8fd70b7f998ea3f8ae1edcbef545c127e3e