History log of /frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bee5a864724f8aebaa7308a21c862e646c0e6aa3 22-Feb-2016 Donghyun Cho <donghyun@google.com> MediaSessionCompat: Make prepare* methods work in the support library

Some APIs for preparing media before playing are introduced since N.
This change allows MediaControllerCompat/MediaSessionCompat use the
preparation functionality in the support library. Support for these new
APIs on pre-N devices will be addressed with separate changes.

Bug:25841735, Bug:25153060, Bug:25153353
Change-Id: I53abdb1a0ca96a61533e697215b7857987b73ec9
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
b51f456b92aeb62d5aa9d67e1fb2725b2035fddd 24-Jul-2015 Ian Lake <ilake@google.com> Add API 23 PLAY_FROM_URI support to MediaSessionCompat

Add support for the PLAY_FROM_URI action, added in API 23, to
MediaSessionCompat, PlaybackStateCompat, and MediaControllerCompat.

Note that while <API 21 and API23+ devices will send calls from
MediaControllerCompat.TransportControls.playFromUri() through to the
registered Callback, no attempt has been made to make the same
functionality available to API 21-22 devices (as those use the native
MediaController framework).

BUG: 22715736
Change-Id: I8d21196cd8101047a9ec510b7fe817f924ddb7c3
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
f0e4dea75691d2fd1256508136ecce88bef6067b 20-Jul-2015 Ian Lake <ilake@google.com> Annotate Media section of Support Library

Use @IntDef and StringDef Support Annotations where appropriate
to ensure that IDEs can autocomplete to the correct set of constants

BUG: 22588432
Change-Id: I540a19c3df3637ba5c7a0f4ce3b1994d8f00d1d2
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
930055d119aad484386bac603ffa9f2e12260109 06-May-2015 Ian Lake <ilake@google.com> Merge "Add Lollipop+ playback states to PlaybackStateCompat" into lmp-mr1-ub-dev
a70dc75c177980079f7e94d676faa32aa06b6493 06-May-2015 Ian Lake <ilake@google.com> Merge "Include all actions in PlaybackStateCompat setActions/getActions() documentation" into lmp-mr1-ub-dev
ea79b7d36972eb3f518a7e7b59a92e7bd5faefb4 27-Apr-2015 Ian Lake <ilake@google.com> PlaybackStateCompat: Add support for custom actions, extras, and active item id

Adds support for API 21 and 22 specific PlaybackState data, allowing developers to use custom actions, active queue item ids, and extras while maintaining backward compatibility.

These newly added elements are not part of the RemoteControlClient API surface and are ignored on older devices.

BUG: 19382699
Change-Id: Idf355f6414a1035b2ae50bc3612a0deda81e4460
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
024c5c4a5f04a2201a92cb3538648396da3f8c9d 28-Apr-2015 Ian Lake <ilake@google.com> Include all actions in PlaybackStateCompat setActions/getActions() documentation

Not all actions were listed in the Javadoc for PlaybackStateCompat's setActions() and getActions() methods, leading developers to think those actions were not supported when in fact they are. Corrects the Javadoc to properly list all available actions.

Change-Id: Ie0bba5e699d7cee3e11b77260b7fe20b3711538e
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
bdffe798d762566626c161a613db777e80d9a786 28-Apr-2015 Ian Lake <ilake@google.com> 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
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
e49860b0f76d8336c1d41831ed370b0ff94278ef 04-Dec-2014 RoboErik <epastern@google.com> Make MediaSessionCompat/MediaControllerCompat work pre 21

This adds support for cross-process communication between MediaSessionCompat
and MediaControllerCompat. This is to support apps that split their playback
service and ui into different processes and to work with the MediaRouter
support lib.

bug:18186638
Change-Id: Ib554108fd4db5a9855d482cf3d61ce3d8d9c8850
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
aeb95a772d4365008145407ed52dfbaa61d3c4ac 25-Nov-2014 RoboErik <epastern@google.com> Finish stubbing out MediaControllerCompat APIs

This makes sure MediaControllerCompat has all the methods MediaController
has and passes calls through to the framework component on 21+. This does
not do backwards compatibility yet.

Change-Id: I96cf0bb0e33c09c74edf79e276feb5d6829b7a1f
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
ff40f5c731e8a4e6e2d33ffc95f77dce0397f2c5 28-Aug-2014 RoboErik <epastern@google.com> Update PlaybackStateCompat to match fw version

Some changes were made to PlaybackState's constants. This updates
the compat constants to match.

bug:17205016
Change-Id: I17ccffec99a8f12901099f2bb5aaf0fa76f8a9cc
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
312f13dea7b4a9229dff784c6e94b0ec0c722b74 19-Aug-2014 RoboErik <epastern@google.com> Updates for API feedback round 2

bug:17114404
Change-Id: I25231187a39d898c2e9ff4ef28105d188e32b84d
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
84b0350796e4ae8a113ce1abba54f07a2605cc5c 14-Jul-2014 RoboErik <epastern@google.com> Update PlaybackState for api changes

bug:15862252
Change-Id: I70771f7f4a1e4b83212661ee8e3e884e9ffb0b39
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
d2eec9eeb9bacd4b62d4fc1c66760ec1f7f8a73b 11-Jul-2014 Erik Pasternak <roboerik@android.com> Revert "Update PlaybackState for api changes"

Will resubmit tomorrow for Build Breakage Friday as this change needs new SDK prebuilts for unbundled app branches.

This reverts commit 6a8dd5697fe59c7cf017fbbfcf4e24264e0a0156.

Change-Id: I45ed32dcf74c2cb0db4e68e8851995c778c35fa3
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
6a8dd5697fe59c7cf017fbbfcf4e24264e0a0156 10-Jul-2014 RoboErik <epastern@google.com> Update PlaybackState for api changes

bug:15862252
Change-Id: I05ba921021a3b2818519324654a52953cd0059ca
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java
24fa6c0dd42df057729e1a258388183f94da7f82 24-Jun-2014 Jeff Brown <jeffbrown@google.com> Add media session wrappers to support library.

This is an initial check-in which just wraps the API 21+ media session
features for use in the support library. It does not provide any
backwards compatibility.

Change-Id: Ife5f8ddeefa8c6920517fc6704cc19e22767b7d6
/frameworks/support/v4/java/android/support/v4/media/session/PlaybackStateCompat.java