History log of /frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f7c6ae787718b1dc4188a42c8522997b1f631e62 08-Oct-2016 Donghyun Cho <donghyun@google.com> MediaRouter: Use AppCompat's windowNoTitle attribute instead of framework's one

Make chooser dialog inherit AppCompatDialog and use AppCompat's
windowNoTitle attribute instead of framework's one. Because
MediaRouter's theme affects both chooser (Framework dialog) and
controller dialog (AppCompat's AlertDialog), setting
android:windowNoTitle as false may cause the misplaced title bar problem
in the controller dialog.

Bug: 30789373
Test: Applied this fix to CastVideo-android app and observed it's
working well. Tested on K, M, and N devices.
Change-Id: Ied26a6865dd399eadf0938c534eace41f2d96e90
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.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/app/MediaRouteChooserDialog.java
9638fe50395aa50cc8638ad5591f513605a5074c 02-Aug-2016 Sungsoo Lim <sungsoo@google.com> MediaRouteChooserDialog: Sort routes alphabetically

Bug: 30533647i
Change-Id: I0d860eef8156c9bee9c520f116dfc34bba7712c8
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
34271ffd6da46dd38056656ddfb96d471d56d43b 19-Jul-2016 Donghyun Cho <donghyun@google.com> MediaRouter: Fix RuntimeException in the chooser dialog

Because MediaRouteChooserDialog#onFilterRoutes() must be called in the
main thread, it should be located in onPreExecute().

Bug: 30206953
Change-Id: I5dc894da41aa3da3c9750100b314c234deeeb46a
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
850c574c814df9fbc5a26ecdd1f89feb0d3976d2 14-Jul-2016 Sungsoo Lim <sungsoo@google.com> MediaRouteChooserDialog: Fix IllegalStateException

Bug: 29880876
Change-Id: Iac5f97c2da04b4a1f6b90195d5172133c041a8db
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
de887e003ea92c6b254686191d241d1cd7162044 02-Jun-2016 Donghyun Cho <donghyun@google.com> MediaRouter: Apply route list changes at a time

If the provider updates too frequently, the route list will be updated
awkwardly. So this change will gather route updates for 300ms, and apply
those changes at a time. Moreover, the initial route list will be shown
just after showing dialog.

Bug: 29061029
Change-Id: Id4070a37d74140ec41b1dc4f5b2c092e182d787e
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
fa19abbe11335366feb6c885f8d75504ab8fe4f9 07-Apr-2016 Insun Kang <insun@google.com> Remove bluetooth route from MediaRouteChooserDialog

Bug: 27229583
Change-Id: If63c9cc0422e10e6719705dd32c70d70d50b0644
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
c56171427d5fa02d4c7d48380b09adacd0421448 21-Mar-2016 Sungsoo Lim <sungsoo@google.com> MediaRouterChooserDialog: Cache the loaded route usage scores

Bug: 25894307
Change-Id: I24ad397e26f80be9fbc774347a425b5aa5eb17ed
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
589e4e1720f7fb4258e3e19b165e8a3c5379d28b 24-Nov-2015 Sungsoo Lim <sungsoo@google.com> MediaRouter: Use background threads for disk operations

Bug: 25804190
Change-Id: Ic89a1e11aa322046cc9cdfc90a80c3c8a10022e5
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
4448a8e5ed20d230cb838042ff73b6409106cf80 17-Nov-2015 Sungsoo Lim <sungsoo@google.com> MediaRouter: Make getThemeColor() work properly

If an app uses its own style for MRCD, the primary color in the style
was not applied properly when creating theme context in the
constructor of MRCD.

Bug: 25731047
Change-Id: I9744c76373ac9b3d400f7be753a589aa520c78e6
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
eb51f617d95c9a88a6ba528b1ad756f7bb7e7640 09-Nov-2015 Jae Seo <jaeseo@google.com> MediaRouter: Loosen up the condition to show the play control layout

This partly reverts ag/802026.

Bug: 25595250, Bug: 24888113
Change-Id: I887c96c37c0d0d5e9f18d57cf071323dfc88bf40
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
47872a26cc538969676e166899f7b94c7407f8b3 09-Oct-2015 Jae Seo <jaeseo@google.com> MediaRouter: Change the default route icon from TV to Cast

Bug: 24772220
Change-Id: If99fb505feafe24e4e1a7a0de4569ec57dbfdee7
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
3c28b38880deefff77f08a4430d0dde9df0f852a 23-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Update package name for known audio routes

Change-Id: Iff1768749b7509d982390e45f23c028946ce7fd3
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
cc0c7f3327a5448462764782fd1ccd0343f79974 23-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Ignore case when checking description for audio routes

Change-Id: I783e6013c379fd1c0c13b9e653c2e281576c3001
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
893feff5ea67f24af45af6dc9d6d09640ea66b86 28-Aug-2015 Jae Seo <jaeseo@google.com> MediaRouter: Add an API to set the receiver device type of the route

Used to determine the default icon of a given route when a custom icon
is not specified.

Bug: 23116379
Change-Id: I1188c10b679e4693ae1aab9ced0f842d4fc80881
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
56a860b7853e11fd408b3de78bdb9d10ae9be7e9 10-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Workaround for b/23703214

Change-Id: Ie4e2cb10dd4d0856b0dcf394c3f315102c51b54c
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
d52e30f3736a821e45266c28c334756f5f7e55c3 07-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Handle configuration change

Bug: 23868704
Change-Id: I1fb264d68cfaf91aaf80c8afdf0683a211b27099
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
f4575634e9f3c2b61c2e6bceaeed6cabb378803f 07-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Set the dialog width complying with the framework

The framework should set the dialog width properly, but somehow it
doesn't work, hence duplicating a similar logic here to determine the
appropriate width.

Change-Id: Id9e240f253efd6d286dc8acb4093cda613bdf5d6
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
bed0e72666b11399dee92fdf81eb77e0a150c451 07-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Rename the dialog width constants

Change-Id: If80c9a5aa8851fe8752ffdd68cd30c3b75c958c2
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
76da0b0abe12fdd3ee32bbe2d4fd4c63bfdbed3a 07-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Use the same width for the chooser dialog

Bug: 23861294
Change-Id: I6fd7c2b1e3369d65a12260ee63771343ab15b8e6
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
90ceaedc334921fd234d8c546dffadddadded2ad 03-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Cosmetic changes to the chooser dialog

- Removed the (thick) list item dividers so that item selection becomes
more pronounced together with the ripple anim.
- Added a special bottom margin to the route text to align it better
with the icon.
- Changed ids for better consistency.

Change-Id: I93a948b8c23ac9d6d558fecc1d9fe4cf9c09c70f
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
6e547065f21f1645b3e9d5b3a3fd9720be8aede8 28-Aug-2015 Jaewan Kim <jaewan@google.com> MediaRouter: Apply dialog width spec

Bug: 23117157, Bug: 23117610
Change-Id: I5f1b4688c79927ff5db633666c9040405816b09a
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
a09c7b30d3a5c53281db955eabce171e1aec6fea 31-Aug-2015 Sungsoo Lim <sungsoo@google.com> Change names from mr_media_route_xxx to mr_xxx

Change-Id: Iceb3f5d4a6b2e1e06a23f184e37261940a987600
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
f2bccfd91ad513911d0b6925a56b44fb5614d1f6 30-Aug-2015 Jae Seo <jaeseo@google.com> Merge "MediaRouter: Use the bluetooth icon for bluetooth audio devices" into mnc-ub-dev
2cf13ca5675a24fbfb33faaeff88b03b4f9107c7 28-Aug-2015 Jae Seo <jaeseo@google.com> MediaRouter: Use the bluetooth icon for bluetooth audio devices

Bug: 23116379
Change-Id: I851770d578ce2c4e30e829f7a2d65b27ca50384e
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
ce43bd6f08cee96a209b74753c8098a0458bf8e0 28-Aug-2015 Jae Seo <jaeseo@google.com> MediaRouter: Use the speaker icon for known audio devices

Added a workaround to pick right icons for known audio devices until the
new API is fully launched.

Bug: 23116379
Change-Id: If210f0d5460a5a098f7367fcdbae132c47bef424
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
6051d8374c90da4826698b66ed7cb13ebc2c65bf 25-Aug-2015 Jae Seo <jaeseo@google.com> MediaRouter: Enable volume group expansion

Bug: 23115937
Change-Id: I97f14d0d74b20723406068caa652d6afe1fcaf74
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
f55d66d98b9ef6ab45360d93e532d050c50b584a 25-Aug-2015 Sungsoo Lim <sungsoo@google.com> Sync the style of MediaRouteChooserDialog among different SDK versions

- Use the same layout for media route list items.
- Sync the text style.

Bug: 23478125
Change-Id: Ie4249caef0700b755f837a686159724528740044
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
119de6bb3353341cfd465cea9e545abec3762d20 24-Aug-2015 Jae Seo <jaeseo@google.com> MediaRouter: Enable custom icons for media routes

The route chooser dialog now displays custom icons for media routes if
they are provided. Otherwise, it shows the default icons.

Also added API to allow route providers to set custom icons for their
routes.

Bug: 23116379
Change-Id: Ia785d7cd5cd3bdb472d058e25aba55f4e8f042ab
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
07255ba22d8fb944e90d3279de60a8229b22b2d6 25-Aug-2015 Jae Seo <jaeseo@google.com> Merge "MediaRouter: Add route connection state" into mnc-ub-dev
3766e1d92193a98f65a12b18a43bbb3f6508a25f 23-Aug-2015 Jae Seo <jaeseo@google.com> MediaRouter: Add route connection state

Defined the route connection states and added getConnectionState() that
replaces the existing isConnecting(). The route chooser dialog now
displays the descriptions of the routes only when they are connected.

Bug: 23117152
Change-Id: I7acfc9fae995f066c80b7f71ff21f18cc165f465
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
bdc5da05b8adfdc288add36c169d950744d5a706 21-Aug-2015 Sungsoo Lim <sungsoo@google.com> Move usage scoring to RouteComparator

This CL applies the comments in ag/751814.

Change-Id: I9bfc43228bf9365d5908c8e8db4613cca7a06ef3
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
ecea1c3cebe995a1d17751a1e8c597baad90beaf 20-Aug-2015 Sungsoo Lim <sungsoo@google.com> Make the list of devices be sorted according to the usage frequency

Bug: 23116901
Change-Id: Idfc4dd02574c0e3123f39446d16283ff3c797a07
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
ff2ae8963f15542047e3a83ff858401e9cfb7e8f 19-Aug-2015 Sungsoo Lim <sungsoo@google.com> MediaRouter: List route devices with representative icons

Bug: 23116853
Change-Id: I91fc86df581b129a12b4c0175b45ea6afd1f51fd
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
bb664e94bf64bbe59836a7154d3025fb59bf2d3a 12-Aug-2015 Sungsoo Lim <sungsoo@google.com> MediaRouter: MediaRouteChooserDialog layout

- Change the title to "Cast to".
- Remove the cast icon on the title.
- Add a default image icon for route items.
- Tweak the paddings, margins and sizes of the route item.

TODOs
- Adjust the text style.

Bug: 23117157, Bug: 23116379
Change-Id: I46544ac46df0f98ed062a71d060e831e75d71b71
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
ab2ef1307a9151a7537b0cf30c016f6058a9f870 17-Aug-2015 Dongwon Kang <dwkang@google.com> Revert "MediaRouterV2: MediaRouteChooserDialog layout"

This reverts commit 8e3673d6d77a2e223942884ba83a939266a11972.

Change-Id: I348508800cc7d7b575a7768e3e5975b1ebcbd8a3
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
8e3673d6d77a2e223942884ba83a939266a11972 12-Aug-2015 Sungsoo Lim <sungsoo@google.com> MediaRouterV2: MediaRouteChooserDialog layout

- Change the title to "Cast to".
- Remove the cast icon on the title.
- Add a default image icon for route items.
- Tweak the paddings, margins and sizes of the route item.

TODOs
- Need to change the image icon once we get the images from UX.
- Adjust the text style.
- Test and apply the new ux for before v7.

Bug: 23117157
Change-Id: I485730b14dfd2fe00bfd6753d27314522582d606
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
14b631fc79b2fc69f392ab8d2f096b0e86b9bea2 12-Aug-2015 Jae Seo <jaeseo@google.com> Put system live audio only routes at bottom of MediaRouteChooserDialog

We don't yet have a way to tell whether a given media route includes a
bluetooth endpoint. This code change tries to make the best guess based
on the currently available route information only. Future work, possibly
API changes might be required to make route sorting more accurate.

Bug: 23116377
Change-Id: Iad2b3fd8ef7f650b96ca94d6686c7dd0e12ae661
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.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/app/MediaRouteChooserDialog.java
42eadd302f2aabcfd47640b5c571e5edfb708f8e 22-Apr-2014 Narayan Kamath <narayan@google.com> Fix SDK build.

Missing param name in @param tag.

Change-Id: I9ecf247e3993201e381ac2def1db9cdefcb5ebf4
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
e691b92e98a1d431490eda2fab16ecf780445925 19-Apr-2014 Jeff Brown <jeffbrown@google.com> Enhance support for filtering routes in route chooser dialog.

Added an onFilterRoutes method to MediaRouteChooserDialog.
In contrast to onFilterRoute, the new method is provided with the
entire list of routes to filter so that it may make global filtering
decisions such as eliminating duplicate or redundant routes
from consideration.

Bug: 13791161
Change-Id: I4c16454c9e4ea7f4acb76e2b18a217242f750ff4
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
429c3b17b88ebd8c4512e9179fd9d48333c0979e 21-Mar-2014 Tor Norbye <tnorbye@google.com> Add tools metadata annotations to the mediarouter library

Change-Id: I69322fb994a840b7142109ca48c29fb51829a2dd
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
02acfc96bf4b4108f76f465f7895c7bbd60c0253 12-Nov-2013 Jeff Brown <jeffbrown@google.com> Hide disabled routes from the chooser dialog.

Bug: 11257292
Change-Id: I88f905ed4b5280ef9a7d39d37afa3f89aaaff9ce
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.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/app/MediaRouteChooserDialog.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/app/MediaRouteChooserDialog.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/app/MediaRouteChooserDialog.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/app/MediaRouteChooserDialog.java
2ef36d857302c5cd738c7c8bdec53d31feebebba 16-May-2013 Jeff Brown <jeffbrown@google.com> MediaRouter UI tweaks.

Fix a couple of styling issues.
Fix an NPE when a provider is removed.

Bug: 8175766
Change-Id: I109bc93e94d4a05924ae01189911d2418660d0f3
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
d63957d28aaabcec588b8cde12eac16414783aeb 16-May-2013 Jeff Brown <jeffbrown@google.com> Replace route status with route description.

Bug: 8175766
Change-Id: I694e3d78cd6a80ecb277b5d950b52d9401a8736c
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java
55b361aea868e53e848bc45af3a55ae43e7871c3 16-May-2013 Jeff Brown <jeffbrown@google.com> Remove route icons from the API and the UI.

Bug: 8175766
Change-Id: Ic376cb99455fff1e48aa7d3243365aa7cb94659b
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.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/app/MediaRouteChooserDialog.java