c9a859537b0871f84afeeb706a5b425fe3f2b4dd |
|
25-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix a random assortment of spelling errors. Fix spelling errors found by Android Studio. Change-Id: I121c79029f4e323da4ff2f44891e25480c44ebbc
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
718625bf6d666a657f8b4e1969f02ef62a21bfc1 |
|
23-Mar-2016 |
Sungsoo Lim <sungsoo@google.com> |
Apply API review for v7 media RemotePlaybackClient: - sendMessage javadoc errors - make MessageCallback be a listener MediaControlIntent: - ACTION_SEND_MESSAGE javadoc errors - EXTRA_MESSAGE: specify the type of extra expected Bug: 27811573 Change-Id: I1f9b8aaf5dc79030fd73a9a0097417298d02adcf
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
39c5ca8cf8a45e9c550ef3732e36976b63812593 |
|
09-Mar-2016 |
Sungsoo Lim <sungsoo@google.com> |
MediaControlIntent: Rename constants and methods Bug: 21437727 Change-Id: I071e2f6b79767550b107fbcf90bd37ee6539f162
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
dd5a10666ad2c33be5763215b5859f0298394357 |
|
11-Feb-2016 |
Sungsoo Lim <sungsoo@google.com> |
MediaControlIntent: Add ACTION_SEND_CUSTOM_MESSAGE Bug: 21437727 Change-Id: I505ebe0823388b62ea294882dc47efebf5eb15ac
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
3efa63d3b896244713e84acbb5945562dce41d77 |
|
05-Nov-2013 |
Jeff Brown <jeffbrown@google.com> |
Minor code cleanup to enable reuse of the protocol. Extract the protocol constants into another class. Add a callback interface for the watcher. Minor doc tweaks. Bug: 11257292 Change-Id: I74b5ecee0d287d6b892ccb56e7777762bbce30de
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
b8b59e000cb7fcd1effc7b5898557b57a7ce0062 |
|
03-Oct-2013 |
Jeff Brown <jeffbrown@google.com> |
Add error codes to the remote playback protocol. Bug: 10260186 Change-Id: I9e0d733bf38546162a184af03d77d91dfb5e8698
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
be0f7708a9d53b5bb90a83d551290ebaa01ad32a |
|
24-Sep-2013 |
Jeff Brown <jeffbrown@google.com> |
Add session status to item status update receiver. Bug: 10260186 Change-Id: I909ece7ae2051d7c2a53f510be29f9beb0b7513b
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
aaa9719b402f15df68f9536b813e06dcd9a5d73a |
|
18-Sep-2013 |
Jeff Brown <jeffbrown@google.com> |
Add session state actions. Define START_SESSION, GET_SESSION_STATUS and END_SESSION actions for explicitly managing remote media playback sessions. Bug: 10260186 Change-Id: Ie5ba53ba0a77112231f8e056cbf93aba236ec6f0 (cherry picked from commit b8e8322e718125cdacfac70e9605d8f9b563e6ee)
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
3e472786d3d51c19db5661732ecc13ae3b907db2 |
|
18-Sep-2013 |
Jeff Brown <jeffbrown@google.com> |
Add queue actions, http header and duration metadata. Bug: 10260186 Change-Id: I1356979f929d25f96133288d4fa1b3711890d04e (cherry picked from commit bf1bbdfcb39667dfb3a98f5c14c118fab278ede0)
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
eff7719415542ba819054863b0995f07742a7a8a |
|
10-Jul-2013 |
Jeff Brown <jeffbrown@google.com> |
Media router API updates. Added a MediaRouteDialogFactory to make it easier for applications to customize the dialog fragments such as adding custom views into the media route controller dialog. Added an API to disable volume control in the media route controller dialog. Added a method that the application can override to change how routes are filtered in the chooser dialog. Changed the remote playback protocol to isolate the queuing feature and @hide it. This required a few semantic changes to the protocol so that the non-queuing subset is able to stand on its own and be coherent. Most of these changes are simple renames and incremental changes of existing concepts but the documentation had to be substantially updated to keep it clear. The protocol changes are roughly as follows. - QUEUE_ID renamed to SESSION_ID. Sessions are created implicitly by ACTION_PLAY just like queues but the concept is somewhat more generic. The session is documented conceptually as having a queue that can only contain at most one item which makes it easier to explain certain behaviors. However, we now deemphasize the concept of the queue in the documentation and focus more on the session. Since the word "queue" no longer appears in the API, we could go either way in the future and choose to expand on or abandon the queue concept just by changing the documentation. - ACTION_STOP renamed to ACTION_REMOVE and now @hide. The action removes one specific item from the queue. - ACTION_CLEAR_QUEUE renamed to ACTION_STOP. Now documented to have the side-effect of both clearing and unpausing the queue like hitting a reset switch on the session. The choice of name creates good symmetry with ACTION_PLAY in the single item case. - ACTION_ENQUEUE (@hide) added to represent the previous queuing behavior so that we can continue to experiment with it. Support for this action might be optional in the future. - ACTION_PLAY is documented in a way that makes it equivalent to ACTION_STOP followed by ACTION_ENQUEUE. This way we enforce the constraint that the queue can have at most one item in it while still leaving the door open to exposing more features later. - ACTION_PAUSE_QUEUE renamed to ACTION_PAUSE. We still refer to it as conceptually pausing a queue but this now fits in better with the one at a time nature of ACTION_PLAY. - ACTION_RESUME_QUEUE renamed to ACTION_RESUME. - PLAYBACK_STATE_QUEUED renamed to PLAYBACK_STATE_PENDING. - PLAYBACK_STATE_STOPPED renamed to PLAYBACK_STATE_FINISHED to make it clear that this state means the media item finished playing normally. - PLAYBACK_STATE_CANCELED now only means that the media item was canceled by the app by way of ACTION_PLAY or ACTION_STOP (or ACTION_REMOVE) which caused the item to be removed from the queue before it had a chance to finish normally. - PLAYBACK_STATE_INVALIDATED added to specifically refer to the case where another application takes control of the route and stomps on the session and its media items. The documentation now consistently uses the word invalidate rather than cancel when referring to sessions or media items that have been involuntarily aborted by an external cause. - @hide HTTP request headers, response headers and status code. Bug: 9743462 Change-Id: I3bdb4cd8947112ab409983a74fa4bc062465149a
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
fb75232cb13b19004ec1189888b46767db20daf4 |
|
22-Jun-2013 |
Jeff Brown <jeffbrown@google.com> |
mediarouter: Improve HTTP status reporting. Add support for reporting HTTP response headers in status as an extra. Make the HTTP status code an extra as well. Bug: 9532200 Change-Id: I8c6340df27f23670d1a61fb71a0aa5cdbd338227
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
ba811896e3057cb48ad0f017efe1bf0c262430ec |
|
12-Jun-2013 |
Jeff Brown <jeffbrown@google.com> |
Redefine content position in milliseconds instead of seconds. Bug: 9380827 Change-Id: I92a2df6ae2aeb2257625d75c8ba9e0791568bf7e
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
de3d4d3c033fc939af83775a443b295a4034444c |
|
08-Jun-2013 |
Jeff Brown <jeffbrown@google.com> |
Update media router remote playback protocol. Introduce concept of queue ids to simplify the queuing story. Bug: 9380827 Change-Id: Idd67cef36fbf26c01b04558907116bd1ecb91e2a
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
9942d40d0d952b03b583fe66f434676793697aa2 |
|
24-May-2013 |
Jeff Brown <jeffbrown@google.com> |
MediaRouter UI tweaks. Fix an issue where the MediaRouteButton would cause the currently selected route to be deselected when switching activities. The button now no longer has any side-effects. Added code to handle the case where the dialog may be empty by showing a progress bar and placeholder text. Make the route chooser and controller dialogs dark to match the system volume dialog. Fixed the dividers in the route controller dialog. Fixed some incorrect assumptions in the MediaRouteActionProvider related to whether the MediaRouteButton has been attached to the window. Sometimes we would fail to add the necessary route callbacks. This was intended to workaround a framework limitation but it caused other problems. Fixed the padding of the media route button. Cleaned up some documentation. Bug: 9102538 Change-Id: I226e33c3017e8e4a9d877d023a8f158184861343
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
3d4c9459ed77f732dd3ba602713af6ebf9280c8c |
|
21-May-2013 |
Jeff Brown <jeffbrown@google.com> |
Streamline media router API. Merge progress and status and remove ACTION_GET_PROGRESS. Add a new MediaItemStatus object to ensure that apps package the status information correctly into the Bundle and to remove possible ambiguity about the interpretation of each field. Add EXTRA_ITEM_STATUS as a standard output result from most requests include ACTION_PLAY, ACTION_PAUSE, etc. Add a timestamp to the status object. Add a mechanism for returning an error string from failed media control requests. Add a unique prefix to all mediarouter library resources to make conflicts with application resources less likely. Bug: 8175766 Change-Id: Ifca759424125ca62e8a72d35068dd3cc045d21ad
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
43f79f79a5117550a7dfedf9c65124afd163ea43 |
|
12-Apr-2013 |
Jeff Brown <jeffbrown@google.com> |
Update media router API. Use the nomenclature "media item" rather than "media stream" to refer to playback requests to avoid confusion. Add a STOP action. Document that the status broadcasts should include the item id. Bug: 8175766 Change-Id: Ideb5c674d48b4a5ba2cb276c19beaafda83900b5
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
55eb54486dde6c1eb7857bdfff29f420fb2ecdfb |
|
02-Apr-2013 |
Jeff Brown <jeffbrown@google.com> |
Declare metadata and status information. Bug: 8175766 Change-Id: Ib1d15e03dffdd4c5b9a20c7be278e6fc898d30fa
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
129abf73ce9be1bc172b945263c7975ad1a3006f |
|
23-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Define some new media control intents. Also rename the methods of RouteController to emphasize the fact that they are intended to be overridden by the implementation. Add a concept of a stream id. Change-Id: I84c55340914c7245dcf8ab66911adcb725aec10e
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|
b507e525a61ed761eecfc2eaaf19af7e8db5dca5 |
|
20-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Move support library media router to v7 package. Resolved some TODOs related to missing resources. Bug: 8175766 Change-Id: I57632d0a961de58a5dd53e889b4fd39832b5fba0
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaControlIntent.java
|