History log of /frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ee1b969af871a7015fc2df11f8d342a4e6cf40f0 17-May-2017 Hyundo Moon <hdmoon@google.com> MediaRouter: Fix errprone warnings

Bug: 38276537
Test: ./gradlew support-mediarouter-v7:lintErrorProne
./gradlew createArchive
Change-Id: I88aeeae5cb84f1b131fa615b17aec0851b7ffa66
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
8e10080c914d1ad0784394fa3026b85535535847 18-Nov-2016 Aurimas Liutikas <aurimas@google.com> Move from GROUP_ID to LIBRARY_GROUP annotations

- GROUP_ID was deprecated in favor of LIBRARY_GROUP.
- Fix import order in touched files.

Test: ./gradlew assemble assembleAndroidTest
Change-Id: I2a774e93215090f42262fb86cf8e841f2a546a4f
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
e2c6a94b6e4aab502f9b88dd3ff664bd90b25839 25-Aug-2016 Aurimas Liutikas <aurimas@google.com> Remove all the extra accessor methods added by javac in support-mediarouter.

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 143 methods in our jar.

Bug: 31075707
Change-Id: Iddd66c7f04ae9522792a889a59b3ae7629b2983c
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
9c83739aefcb1748551645a656bece0d864cef76 29-Jun-2016 Sungsoo Lim <sungsoo@google.com> MediaRouter: Introduce min/max client version in MediaRouteDescriptor

When sending a descriptor changed message to a router, MediaRouteService
will filter routes out if the router's client version is lower than the
routes' min client version or is higher than routes' max client version.

Also, this CL increases the client version from 1 to 2.

Bug: 29519687
Change-Id: I6151646b6902a66485429d8b25b8dc7030f0e5fe
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
2f829125aef3796ca674d0ca5fccf9bd37b8417b 11-Jun-2016 Sungsoo Lim <sungsoo@google.com> MediaRouter: Overload onCreateRouteController for route groups

onCreateRouteController is called when a route is selected. This
CL overloads the method with an additional parameter, routeGroupId.
The overloaded method will be called when the route is selected by
selecting a route group where the route is a member of the route
group.

Bug: 29194434
Change-Id: I6582a7bc6f18119578a60ad67d4be865a965dace
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
42c2365e621434a241af1909593b9c5d592b8ad7 04-Apr-2016 Sungsoo Lim <sungsoo@google.com> MediaRouteProviderService: Release callback in onUnbind()

Bug: 27929503
Change-Id: I4f60e1893273341b2d8924ddec1f6f1481d16be5
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
d8e02077fc00aabc7432246e2301626fb342129d 22-Mar-2016 Sungsoo Lim <sungsoo@google.com> Add documentation about the lifecycle of MediaRouteProviderService

Bug: 25882125
Change-Id: Ied47268a9ada472d113ddc55c3003d6ab08c778a
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
94be6100218126ce6a08bf1f56209578500b361f 28-Oct-2014 RoboErik <epastern@google.com> Update the support lib MediaRouter dialogs

This updates the UI for MediaRouter dialogs to use the new material
designs for MediaRouter. This doesn't update everything and new
icons are still needed.

Change-Id: I87c7c63c10ac60448251a8fc1fc4740a12f1603c
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.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/MediaRouteProviderService.java
ae161a4d000a10dafd844d17145de631933f21f3 02-Jul-2013 Jeff Brown <jeffbrown@google.com> Fix NPE when provider does not supply a route controller.

Bug: 9660419
Change-Id: I55e72c6c6310929d8870d9ee887a97fd50b98456
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
f03da4a9e6cc02251c2f804eb6f25da61821d6a7 31-May-2013 Jeff Brown <jeffbrown@google.com> Add CALLBACK_FLAG_REQUEST_DISCOVERY.

This change is designed to reduce the network discovery overhead
and memory footprint of the media router.

Make the media router more conservative about when it binds to
media route providers and performs discovery. It will now
only perform discovery if the application has specified
CALLBACK_FLAG_REQUEST_DISCOVERY or CALLBACK_FLAG_PERFORM_ACTIVE_SCAN.
Furthermore, it will only bind to media route provider services
while discovery is requested or while the app has selected
a route that belongs to the provider. It will automatically
unbind when these conditions no longer hold true to allow the
system to reclaim memory used by the MRP service process.

Added a MediaRouteDiscoveryFragment to make it a bit easier to
manage the lifecycle of media router callbacks.

Bug: 9210033
Change-Id: I9e7399022d51eb6db3ac79f843ccfa5aba3a8762
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.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/MediaRouteProviderService.java
11417b1cfde8f1749905f2d735623af9214148af 27-Apr-2013 Jeff Brown <jeffbrown@google.com> Add media router picker UI.

Introduced the concept of a MediaRouteSelector which is the means
by which an application states the route capabilities of routes
that it would like to discover.

Added selectors to the addCallback method along with several
other methods to assist with discovery. Callbacks can specify
flags to perform active scans of routes or to disable filtering
of route events.

Added a workaround to scan for wifi displays on JB MR1.

Refactored the route descriptor objects to use the builder pattern
instead of simply documenting that they should be immutable
since several developers have already tripped over this.

The UI is feature complete but not final.

Bug: 8175766
Change-Id: I54ebb7488222746b0c07292e65b9ded1b9d720fa
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.java
28520a15611522424b52cf88e4a2dbeb1a9be42b 26-Apr-2013 Jeff Brown <jeffbrown@google.com> Add a way for apps to hint at the types of routes they want.

Some route providers may need additional information about the kinds
of routes to be discovered. We define a concept of a Selector
to allow an application to specify these capabilities.
This concept is a bit new and not plumbed all the way through yet.
We will refine it as we build more of the UI bits on top.

Added APIs for starting active route scans.

Bug: 8175766
Change-Id: Ib2d2f7bd6cd0610edc8c1f68d879f386c340f682
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.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/MediaRouteProviderService.java
350ba6e4a1b5ec28721a098e50eaf6a508eb28f0 22-Mar-2013 Jeff Brown <jeffbrown@google.com> Fix a couple of minor bugs.

Handle case where a media provider service publishes a null
descriptor or does not publish one until after registration.

Handle case where a provider service chooses not to create
a provider and returns null from onCreateMediaRouteProvider.

Change-Id: If89a3d553a8fba0dca80c0b7ff93517eb2698d17
/frameworks/support/v7/mediarouter/src/android/support/v7/media/MediaRouteProviderService.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/MediaRouteProviderService.java