c39d9c75590eca86a5e7e32a8824ba04a0d42e9b |
25-Aug-2016 |
Alan Viverette <alanv@google.com> |
Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations Also removes some unnecessary @hide annotations on classes that wouldn't have shown up in docs anyway due to package/private visibility or NO_DOCS. Bug: 27937193 Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
4/media/MediaBrowserCompat.java
4/media/MediaBrowserCompatUtils.java
4/media/MediaBrowserProtocol.java
4/media/MediaBrowserServiceCompat.java
4/media/MediaDescriptionCompat.java
4/media/MediaMetadataCompat.java
4/media/RatingCompat.java
4/media/VolumeProviderCompat.java
4/media/session/MediaSessionCompat.java
4/media/session/PlaybackStateCompat.java
|
7ce86ec087d5246c3b9a6f038bb538957606c311 |
05-Sep-2016 |
Sungsoo <sungsoo@google.com> |
MediaBrowserCompat: Make ItemCallback can take a null media item When the implementation of MediaBrowserServiceCompat.onLoadItem returns null, ItemCallback.onError was called, but the JavaDoc is saying that ItemCallback.onItemLoaded can be called with a null result. This CL makes ItemCallback.onItemLoaded be able to take a null result, and ItemCallback.onError be called when the implementation doesn't override the onLoadItem method or when the returned object is not MediaItem. Bug: 27808084 Change-Id: Ifd25bcbd0775af221f3b48f715a8eb703caa77ad
4/media/MediaBrowserCompat.java
4/media/MediaBrowserServiceCompat.java
|
8c9a3a8956260ab2a4fceef127b21b03e3bbb53f |
07-Sep-2016 |
Sungsoo Lim <sungsoo@google.com> |
Merge "MediaBrowserServiceCompat: Handle null results from the implementation" into nyc-support-24.1-dev
|
777d23227fb217431dc1c50b25be6ffd60999bde |
30-Aug-2016 |
Sungsoo <sungsoo@google.com> |
MediaBrowserServiceCompat: Handle null results from the implementation When a null result is sent to ResultWrapper from the implementation of onLoadChildren and/or onLoadItem on API 23+, the result couldn't be passed to the origin result object or NPE could be happened. Bug: 31106294 Change-Id: Idd7e095c3475c2ad3e8cf8a0ce85ec2f38fc4d31
4/media/MediaBrowserServiceCompat.java
|
b768ed3824de2c109411654b3830feabe564ff0a |
25-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove all the extra accessor methods added by javac in support-media-compat. Change private methods to be package protected to avoid extra methods that get added to be able to access them from inner classes. This CL saves 95 methods in our jar. Bug: 31075707 Change-Id: I109e85d38ab39c66b55482e2a69030c5f0d6a462
4/media/MediaBrowserCompat.java
4/media/MediaBrowserServiceCompat.java
4/media/MediaDescriptionCompat.java
4/media/MediaMetadataCompat.java
4/media/RatingCompat.java
4/media/session/MediaControllerCompat.java
4/media/session/MediaSessionCompat.java
4/media/session/PlaybackStateCompat.java
|
6ff4dde1a7699f2fcf0ba0e16f8e0c5aac1589a0 |
02-Aug-2016 |
Hyundo Moon <hdmoon@google.com> |
MediaBrowserCompat: Supplement JavaDoc of MediaItem.getMediaId() This CL adds link to MediaMetadataCompat.METADATA_KEY_MEDIA_ID into the JavaDoc of MediaItem.getMediaId() to help developers easily find what the MediaId is. Bug: 28790407 Change-Id: I7ca64e436f8290ed0723daaf19f33e07ad800997
4/media/MediaBrowserCompat.java
|
e48441650b24efca174b0b8b29c6f284f8d01650 |
13-Jul-2016 |
Hyundo Moon <hdmoon@google.com> |
Address API council feedback on MediaBrowserCompat/MediaSessionCompat * MediaBrowserCompat - Add comment for the behavior of MediaItem.fromMediaItem()/ MediaItem.fromMediaItemList() on API < 21 to explicitly state that they return null. * MediaSessionCompat - Make fromMediaSession()/QueueItem.fromQueueItem() return null on API < 21. Also add comment for it. - Add comment for the behavior of QueueItem.fromQueueItemList() on API < 21 to explicitly state that they return null. - Add @param for Context argument in fromMediaSession(). Bug: 30088705 Bug: 30088479 Change-Id: Ie4c5069426348c6203540976c7c44c77570ac882
4/media/MediaBrowserCompat.java
4/media/session/MediaSessionCompat.java
|
44cc5e3d6dafb4aed32b4aeb394ed2533e4077f5 |
07-Jul-2016 |
Donghyun Cho <donghyun@google.com> |
Move APIs related to the media button into MediaButtonReceiver Relocate APIs related to the media button, and remove the flag attribute from the IntDef annotation of MediaKeyActions. Bug: 22718016 Change-Id: If9f73c2f779aefe12c7dd5f9da96a2cba2aacd96
4/media/session/MediaButtonReceiver.java
4/media/session/MediaSessionCompat.java
4/media/session/PlaybackStateCompat.java
|
e64819c57e8ef755f4110dc1db10cf585617a4f8 |
08-Jul-2016 |
Hyundo Moon <hdmoon@google.com> |
Merge "Add fromQueueItemList() in MediaSessionCompat.QueueItem" into nyc-support-24.1-dev
|
203a34227e8fa3bd16721fb7ff450fb6feba7c50 |
04-Jul-2016 |
Hyundo Moon <hdmoon@google.com> |
Add fromQueueItemList() in MediaSessionCompat.QueueItem This CL adds a method fromQueueItemList() which creates a list of MediaSessionCompat.QueueItem objects from a given MediaSession.QueueItem list. Also it removes an unnecessary conversion of the QueueItem list to Parcel list and vice versa by using the added method. Bug: 29524530 Change-Id: I3017606eea46a0b358c47633903f176ba3df90b4
4/media/session/MediaControllerCompat.java
4/media/session/MediaSessionCompat.java
|
fbdf53794fb5b2043e783098e8cf23bca50eedec |
06-Jul-2016 |
Jaewan Kim <jaewan@google.com> |
Scale large bitmaps down in MediaSessionCompat.setMetadata This keeps the consistency between MediaSession.setMetadata and MediaSessionCompat.setMetadata. Bug: 29149751 Change-Id: I78c2224ebe2395c1298984e06a96e59cb81a30bb
4/media/MediaMetadataCompat.java
4/media/session/MediaSessionCompat.java
|
befd962eaf358c8dba1eae1cfeb92a34fb74d3c2 |
29-Jun-2016 |
Hyundo Moon <hdmoon@google.com> |
Add fromMediaItem()/fromMediaItemList() in MediaBrowserCompat.MediaItem This CL adds two methods which convert MediaBrowser.MediaItem object/List to MediaBrowserCompat.MediaItem object/List, respectively. It also removes unnecessary conversions of the MediaItem list to Parcel list and vice versa by using the two added methods. Bug: 29524530 Change-Id: Ie0628b44c6d5db08f5f4694c673d76e7351300d6
4/media/MediaBrowserCompat.java
|
dea052cbd7d523a47ce8fff8b4f2fd0c39b132c6 |
06-Jul-2016 |
Hyundo Moon <hdmoon@google.com> |
Replace obtain() methods in MediaSessionCompat The obtain() methods covert a framework object to a compat object, but fromXXX() methods do the same thing. For consistency, this CL replaces the obtain() methods with the fromMediaSession() / fromQueueItem(). Bug: 29980113 Change-Id: I262a001e546c2c74a127e79da7f104f487c1ab33
4/media/session/MediaControllerCompat.java
4/media/session/MediaSessionCompat.java
|
996e009dae4345b85f69968f127a3aeae6a59bb8 |
06-Jul-2016 |
Donghyun Cho <donghyun@google.com> |
Merge "Add helper methods to create a pending intent for media button event"
|
7f005437052a17d9a04d85980569898348da5da4 |
01-Jul-2016 |
Donghyun Cho <donghyun@google.com> |
Add helper methods to create a pending intent for media button event Introduced helper methods to create a broadcast pending intent which sends a media button event to the media button receiver with specified media action. It will be helpful for developers because it can save lots of code. Bug: 22718016 Change-Id: I08d2ffd4c666c22d4b57aa5a1e6b57dc8d02382f
4/media/session/MediaSessionCompat.java
4/media/session/PlaybackStateCompat.java
|
ae736327deea12ceb1929f2060acb76b31359c54 |
01-Jul-2016 |
Sungsoo Lim <sungsoo@google.com> |
MediaBrowserServiceCompat: Add a constant for suggestion keywords EXTRA_SUGGESTION_KEYWORDS will be used for denoting specific keywords which will be considered when the browser service suggests media items. Bug: 28210241 Change-Id: I4dfb9a2d2deeb1a119469a1d53a01952278b274c
4/media/MediaBrowserServiceCompat.java
|
ee9a9d6bf32f08c3e396ae8108311a99e1adb0b5 |
27-Jun-2016 |
Sungsoo Lim <sungsoo@google.com> |
MediaMetadataCompat: Add METADATA_KEY_MEDIA_URI Bug: 29025504 Change-Id: I0474b23511f7909473e6eab982c3c61f629503c2
4/media/MediaMetadataCompat.java
|
9d18baac7c99ec5c8ca88cfca10ad21e4106e2f1 |
20-Jun-2016 |
Sungsoo Lim <sungsoo@google.com> |
MediaControllerCompat: Make the all callback methods be called Bug: 29330560 Change-Id: Ie2ef0e3ca21742220bdb2bc5d4a094bb46e6da4c
4/media/MediaBrowserCompat.java
4/media/session/MediaControllerCompat.java
|
69a3183bb4730fff70a4e23fe64e043e9334c67c |
23-Jun-2016 |
Hyundo Moon <hdmoon@google.com> |
Merge "Add hashCode() and equals() in MediaSessionCompat.Token"
|
dc7b35260aa23f385cd67c8e2e6eb9ff0a2f4048 |
08-Jun-2016 |
Hyundo Moon <hdmoon@google.com> |
Add hashCode() and equals() in MediaSessionCompat.Token Bug: 28036653 Change-Id: I930a01ec2b24a686e05c6f1a439e06a8a250e169
4/media/session/MediaSessionCompat.java
|
a8247e246346537a460478156dc4eb479da09dac |
21-Jun-2016 |
Sungsoo Lim <sungsoo@google.com> |
Merge "MediaBrowserServiceCompat: Fix ConcurrentModificationException"
|
98ad29a4591e411be5c924791467db263c404e0d |
21-Jun-2016 |
Donghyun Cho <donghyun@google.com> |
Merge "Add bluetooth folder type to MediaDescriptionCompat and MediaMetadataCompat"
|
8b663a24c352adb2a5dcacffed4d1e5b1cadaf99 |
20-Jun-2016 |
Donghyun Cho <donghyun@google.com> |
Add bluetooth folder type to MediaDescriptionCompat and MediaMetadataCompat Bug: 28210080 Change-Id: I5f2ff2ec1ff857088e6114d731d426ebe645477d
4/media/MediaDescriptionCompat.java
4/media/MediaMetadataCompat.java
|
7528c2286abed5012e9759e3b122cfcf5e5b54bf |
17-Jun-2016 |
Sungsoo Lim <sungsoo@google.com> |
MediaBrowserServiceCompat: Fix ConcurrentModificationException Bug:29438709 Change-Id: I9ee4c30b9ac8117062d1971604e1f7fa03c62f09
4/media/MediaBrowserServiceCompat.java
|
0673f9a669651301f1045af37ef345babad92b2d |
17-Jun-2016 |
Jae Seo <jaeseo@google.com> |
MediaSessionCompat: Add missing call to onExtrasChanged() Bug: 28731646 Change-Id: Id726784f25d52801920a78083a37b2bfb588c805
4/media/session/MediaSessionCompat.java
|
a3274ee2c60634908ab5bd93bbafc51c9567016b |
31-May-2016 |
Alan Viverette <alanv@google.com> |
Fix a few checkstyle issues Change-Id: Id9c2de22b951d89809cbc29a5697e9615f642628
4/media/TransportMediator.java
|
ce35f3b7736ff6e1c84bd5536e7c18922ab63c00 |
31-May-2016 |
Alan Viverette <alanv@google.com> |
Update javadoc sample references for refactor Support demos Change-Id: I0c112ceeccb6e0ce8673f78a9ddc832dec12a714
4/media/TransportMediator.java
|
08b74dda4ecb149bf69592de861436dd34e8ad5b |
24-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Add missing @Override annotations in support library code."
|
15375aa6fd54b036f97f99229aefab2822c8a1c9 |
24-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Add missing @Override annotations in support library code. Change-Id: Ifcc3a20b54d6a14b0a14aa0f48e642cf7e8c0e70
4/media/MediaBrowserServiceCompat.java
4/media/TransportMediator.java
|
7108b54fd1f4efb2701702894f707fe328f4e714 |
24-May-2016 |
Jae Seo <jaeseo@google.com> |
Merge "MediaBrowserServiceCompat: Add more explanation on getBrowserRootHints()" into nyc-dev am: 7eb4234059 am: 193e8a46bb am: d9d5b54635 * commit 'd9d5b54635145e5b4d8efb0d71d61a2f17c21127': MediaBrowserServiceCompat: Add more explanation on getBrowserRootHints() Change-Id: I40d826cfc02699b531f10538815d08735a73c7f3
|
850948bd087fb29f02f2a30a15a3dcdee6f4e08d |
17-May-2016 |
Jae Seo <jaeseo@google.com> |
resolve merge conflicts of 595eacc to master Change-Id: Id10f6695fc01c32af804ca79571ac1bf04157b61
|
f110fcef8d82920eaabf7ad94a1268b2421a8bb3 |
12-May-2016 |
Sungsoo Lim <sungsoo@google.com> |
Merge "MediaBrowserCompat: Fix NPE" into nyc-dev am: 2969ac23f1 am: 64a012aa7f am: 1e1ea4588b * commit '1e1ea4588b340fdb9cc2b1fe57c34740cd738caf': MediaBrowserCompat: Fix NPE Change-Id: I5ac75248d57710c37a6c9f2a030f94558eb0741c
|
d3a6a5238283232ca46b18e9b551b7e471770aff |
11-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Cleaning up pre-Gingerbread folders and classes"
|
1b3e9466b4c4d72f28bb4448672ef8bab19b6f3e |
11-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Clean up internal usage of now-deprecated Compat APIs Change-Id: I309a6637e1c013dc9b218dd048d2cfab7dcee171
4/media/TransportMediator.java
|
81fc7d74aa951af803aeab9087455c2d2e027136 |
11-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Cleaning up pre-Gingerbread folders and classes * Remove Froyo-level class in media-compat * Rename donut folder in compat to gingerbread * Remove eclair folder in v4 * Rename donut folder in v4 to gingerbread Change-Id: Ibc1d58a617a2ca9070510eebc3edf151e9488259
4/media/session/MediaSessionCompat.java
|
d3c5347b3ec0025ec906e2053eaa9b97287c46a5 |
10-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Extracting MediaCompat classes into a new module Change-Id: I46d0bbceba9b94828eb94aa3728e4ec61a1f2269
4/media/MediaBrowserCompat.java
4/media/MediaBrowserCompatUtils.java
4/media/MediaBrowserProtocol.java
4/media/MediaBrowserServiceCompat.java
4/media/MediaDescriptionCompat.java
4/media/MediaMetadataCompat.aidl
4/media/MediaMetadataCompat.java
4/media/RatingCompat.aidl
4/media/RatingCompat.java
4/media/TransportController.java
4/media/TransportMediator.java
4/media/TransportPerformer.java
4/media/TransportStateListener.java
4/media/VolumeProviderCompat.java
4/media/session/IMediaControllerCallback.aidl
4/media/session/IMediaSession.aidl
4/media/session/MediaButtonReceiver.java
4/media/session/MediaControllerCompat.java
4/media/session/MediaSessionCompat.aidl
4/media/session/MediaSessionCompat.java
4/media/session/ParcelableVolumeInfo.aidl
4/media/session/ParcelableVolumeInfo.java
4/media/session/PlaybackStateCompat.aidl
4/media/session/PlaybackStateCompat.java
|