History log of /packages/apps/Car/Media/src/com/android/car/media/MediaActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f33f82fb1a5907fbd8bd286dcdaa689d2d192d6 20-Apr-2017 Anthony Chen <ajchen@google.com> Decouple CarDrawerActivity from media drawer classes.

The CarDrawerActivity is now only passed to the MediaDrawerController.
The controller is now completely responsible for all drawer navigations.
The various item fetchers will notify the controller via interfaces of
variious user actions (e.g. clicks).

It is possible to separate the CarDrawerActivity from the
MediaDrawerController, but this is cleaner if done from the
car-stream-ui-lib level. That is, make some kind of base
CarDrawerController.

Test: Started media app. Test playing, opening queue and navigation in
drawer.

Change-Id: Idaaedf19ec2127f9b673d4294e08901b1dd96886
/packages/apps/Car/Media/src/com/android/car/media/MediaActivity.java
349880a1749d601dea9f20106b3dd09ee47f8eb9 19-Apr-2017 Anthony Chen <ajchen@google.com> Media app fragment cleanup.

- Remove Activity references from the MediaPlaybackFragment. Now the
fragment controls all the views.
- Remove focus related code since embedded does not support rotary
- Remove parcelable exceptions because the code is not unmarshalling any
custom classes.

Test: opened media app and tested with local media
Change-Id: Iefb1d1ca10a2aad080bce6d3216dbb4bf86ec2a5
/packages/apps/Car/Media/src/com/android/car/media/MediaActivity.java
5cb58af61618d6c457685a5feba630540f25567c 22-Mar-2017 Srinivas Visvanathan <sriniv@google.com> Moving Media app off CarActivity

- MediaActivity now extends CarDrawerActivity from car-stream-ui-lib and
no longer relies on legacy CarActivity.
- Re-implemented Drawer logic using CarDrawerAdapter. Added
media-specific subclass: MediaDrawerAdapter. It relies on
MediaBrowserItemsFetcher (and subclasses) for actual fetching of
browse items or queue items.
- Removed now dead classes: MediaProxyActivity, MediaCarMenuCallbacks
and MediaMenuBitmapDownloader.
- Drawer layout is still a bit broken because CarDrawerAdapter is not
flexible enough for Media needs. Filed follow-on bug b/36573125 to
address.

Bug: 34352155
Test: Played music in from LocalMediaPlay and BT Media player. Local
version works for the most part (except for b/36571620). BT version browse
works, but playback is buggy. Need to investigate BT side of things.

Change-Id: Ic9ee87fcdeaecb2c71a9d354316c1342ae90de28
/packages/apps/Car/Media/src/com/android/car/media/MediaActivity.java
64b173f33aa2d98ea00b9113b52e6f8cb35589ad 20-Oct-2016 Rakesh Iyer <rni@google.com> Move car media app.

Original sha1: f802a6f645c66e914ecfe2c1fd06e4dd1aadc6ef

Credits:
ajchen@
rni@
victorchan@
yaochen@

Bug: 32118797
Test: Manual.
Change-Id: Ibfe594d5ea4e37fbbfc150b2152cc97e818bdc52
/packages/apps/Car/Media/src/com/android/car/media/MediaActivity.java