summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-08Fixing metadata layout on playback screen.android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-devpie-b4s4-releasepie-b4s4-devRoberto Perez
Bug: 80150966 Test: Launched on Mojave Change-Id: I307dbd386883e0b065cb3330e80a6e09219b674d
2018-06-05Merge "Update drawer API usage as part of prebuilt update." into pi-devpie-devTreeHugger Robot
2018-06-04Merge "Hiding progress time if position is unknown." into pi-devTreeHugger Robot
2018-06-03Hiding progress time if position is unknown.Roberto Perez
Bug: 78512655 Test: Launched in Mojave Change-Id: Idf6f3e501e245569788fc3d01acb6617e0b7b9fa
2018-05-30Update drawer API usage as part of prebuilt update.Yao, Yuxing
Bug: 80193724 Bug: 80088787 Test: m -j Change-Id: Ie0016429a738431ceccf8f3ab0cabc6856a0a399
2018-05-29Use non-deprecated values of DayNightStyle.Anthony Chen
Bug: 80444085 Test: build and deploy Media app Change-Id: I6cd84c214ee60d7880c5b3248128de925bb2fd91
2018-05-25Merge "Update ContentForwardStrategy for ContentStyle" into pi-devTreeHugger Robot
2018-05-23Update ContentForwardStrategy for ContentStyleSimon Dai
MediaItems that specify a ContentStyle in their extras will be displayed using their provided content style hint. Bug: 77646944 Test: Manual (with radio app implementing content style, and local media without) Change-Id: I3593fa85a08ef42cd5489e8a8d4aea256171c9b2
2018-05-21Sending 'prepare' command to media sources when switching apps.Roberto Perez
Also, re-enabling radio as one of the potential media sources in app selector (disabled for Big Dog demo). Bug: 78512655 Test: Launched on Mojave Change-Id: Ic383bb756d87f299e8428e4d835dbd1941809c2f
2018-05-21Splitting PlaybackModel from ActiveMediaSourceManager.Roberto Perez
This change allows Media Template to work on a single source at the time, independently of the current foreground media source. At the same time this allows to listen to foreground media source changes to enable/disable playback controls while browsing. Bug: 78290550 Test: Launched on Mojave Change-Id: Ib903f61d26a0451f9a322f8aa02ead547d175ec7 Merged-In: Ib903f61d26a0451f9a322f8aa02ead547d175ec7
2018-05-18Fixing navigation when content forward browsing is disabled.Roberto Perez
Bug: 78908883 Test: Launched in Mojave Change-Id: I453d306665ca6f446c12b38b381d352a91d311b9 Merged-In: I453d306665ca6f446c12b38b381d352a91d311b9
2018-05-17Fixing issues detected during user-switchRoberto Perez
Bug: 79352646 Test: Launched in Big Dog Change-Id: I54634367b887fb5a4d0c62a86fde923b96acefa5 Merged-In: I54634367b887fb5a4d0c62a86fde923b96acefa5
2018-05-04DO NOT MERGE Implementing playback fragment transition and other small ↵Roberto Perez
adjustments Bug: 79210610 Test: Launched on Big Dog Change-Id: I7ee3f9fb2dd3bf8dc9f10bb6d2c445182d499b4e
2018-05-04Merge "DO NOT MERGE Remember last browsed application and improving ↵Roberto Perez
transitions." into pi-dev
2018-05-03DO NOT MERGE Remember last browsed application and improving transitions.Roberto Perez
Bug: 78895772 Test: Launched on Big Dog and Mojave Change-Id: I7db5cbcc458dc2d8a94f85808bda687eb7f68dc3
2018-05-04Merge "DO NOT MERGE Add ic_chevron_right icon." into pi-devAnthony Chen
2018-05-02DO NOT MERGE Improve show/hide queue animationJoshua Brown
Improve animations to reduce jank. Keeps the PagedListView roughly in the same place/size to avoid adapter refreshes when made visible. Pauses metadata and state updates while transition is going on. Progress updates may continue since they do not cause layout passes. Bug: 78784683 Test: Manual Change-Id: Ibc590d29d838d5cd9146a90d8910715437c4f021
2018-05-02DO NOT MERGE Implementing app selection UI.Roberto Perez
Bug: 78602199 Test: Launched media template on big dog. Change-Id: I4bf461a61a01efc68491df0f6446d5563994226a
2018-05-02DO NOT MERGE Show/hide playback queueJoshua Brown
Flattens layouts so that they can be easily transitioned with ConstraintSets. Extracts metadata logic into MetadataController. Bug: 78784683 Test: Manual Change-Id: I55f2de884e278fc38fe23a64a84a48d156959747
2018-05-01DO NOT MERGE Add ic_chevron_right icon.Anthony Chen
This dependency used to be supplied by car-stream-ui-lib and was being included by car-apps-common. Now that car-apps-common does not depend on the former, this dependency needs to be supplied manully. Bug: 78886311 Test: Build and deploy media app Change-Id: Iab57c866022d3cddecf5a6441df691a22967eb2e
2018-04-29Merge "Adding queue button and bringing playback controls styles to spec." ↵android-build-team Robot
into pi-dev
2018-04-27Cleanup for packages/apps/Car/MediaJoshua Brown
Removes unused sharedUserId, and uses the correct R class Bug: 78784683 Test: Manual Change-Id: Ia7556ea7e0091aef00c2f6cf5d3c4047ab335bc2
2018-04-27Adding queue button and bringing playback controls styles to spec.Roberto Perez
Bug: 78604386 Test: Launch media app on Mojave Change-Id: Id94d8a8b1ae00c3c7c8a5a3428c1f222c0821955
2018-04-27Updating tabs to match design. Add the new app-switch icon.Roberto Perez
Implement support for new navigation states. Bug: 78571420 Test: Tested on Big Dog Change-Id: Ic5dd3c5d6711d8ee7a088dd64c5dd62aed0024d8
2018-04-25DO NOT MERGE Abstracting PlaybackControls to allow different implementations.Roberto Perez
Bug: 78178131 Test: Launched Media Template on head unit Change-Id: I5a2ab93520f5cb993b5d9cac757b456ea13e0a2b
2018-04-25DO NOT MERGE Adding playback controls while browsingRoberto Perez
Bug: 78363057 Test: Tested on BigDog Change-Id: I84ffafc9a8dbe096d92b7cbfbed83453015557b0
2018-04-23DO NOT MERGE Splitting playback and browse fragments. Implementing Intent ↵Roberto Perez
handling for browse and playback usecases. Implementing TabLayout to access browsing UI. Bug: 77527398 Test: Tested on BigDog Change-Id: If217e89ba7ee875239363f9181cd3b7157a7be3d
2018-04-18Showing/hiding playback depending whether the currently browsed sourceRoberto Perez
is being played or not. Bug: 77334804 Test: TBD Change-Id: Ie614fc2a31fdebb5edbf7a2c30c3145b096e4241
2018-04-16Remove use of macro to pull in dependenciesRodrigo Lagos
Bug: 77333303 Test: Local deployment Change-Id: I3762d5cbaf3f22aee699308689916d822e0b27ff
2018-04-13Adjusting Media Template to the changes on the car-media-common lib.Roberto Perez
Bug: 77918835 Test: TBD Change-Id: I44c786fd095755cb86b23e93dcfd57371d6e9e50
2018-04-12Fixing Intent managementRoberto Perez
Bug: 77909801 Test: TBD Change-Id: I4eee28f81bda8da450b191981c5cfb7d1ba48594
2018-04-10Fix null-pointer dereferences.Tomasz Wasilczyk
Bug: 77853615 Test: adb shell am start -n com.android.car.media/com.android.car.media.MediaActivity --es "media_package" "com.android.car.radio" --es "media_class" "com.android.car.radio.RadioService" Change-Id: I51e691247875ab056cb1a6688952436d737a4274
2018-04-08Merge "Initial version of Content Forward Browsing in embedded." into pi-devRoberto Perez
2018-04-06Initial version of Content Forward Browsing in embedded.Roberto Perez
Bug: 73257264 Test: To be implemented in b/77243935 Change-Id: Ib7328b51f08fdb7788838432219df2b5f877dd3a
2018-04-05Merge "Remove dependency on car-stream-ui-lib." into pi-devTreeHugger Robot
2018-04-05Don't display playback time if it's unknown.Tomasz Wasilczyk
Current model doesn't distinguish song length of 0 from PLAYBACK_POSITION_UNKNOWN. Doesn't sound like a big deal though. Bug: 75970985 Test: open MediaSession browser and check the time field Change-Id: I3fa141c12a0f2ee688f9c94b1de047e2a4cdb104
2018-04-04Remove dependency on car-stream-ui-lib.Anthony Chen
This dep was only being used to supply the actual dependency on android-support-car. Bug: 77601495 Test: build and deploy media Change-Id: I25e701a536089dd096e24917e1477b3f61689475
2018-04-04Merge "Using new album art methods from car-media-common. Implementing ↵Roberto Perez
background blurring. Adding time progress and duration." into pi-dev
2018-04-03Using new album art methods from car-media-common. ImplementingRoberto Perez
background blurring. Adding time progress and duration. Bug: 76099191 Test: To be added on b/77243935 Change-Id: I59735751b3a1e3aa2822b44e942575f721bce899
2018-04-02Remove "listItemStyle" attribute.Anthony Chen
This style attribute has been removed. Instead, to style the list items, modify the attributes directly on the base theme. Test: built and deploy Media Change-Id: Ib4ac6baa9f02bb96afa13fa394ba10201c50253d Fixes: 77490619
2018-03-29Initial implementation of new media template design using shared elementsRoberto Perez
from car-media-common library. Bug: 76101106 Test: They will be added in b/77243935 Change-Id: I3d82871bb83e1451d88bddc4f5f91583d2ad8a9e
2018-03-27Fix play/pause/stop button behavior for edge-cases.Tomasz Wasilczyk
1. if both pause and stop actions are available, pause icon has higher priority (pause is already preferred in handlePlaybackStateForPlay) 2. if neither pause or stop are available, don't display the button (let's not handle play-but-not-pause/stop edge case for now) 3. pause/stop mode shouldn't differ depending whether the app is currently playing or now Bug: 75970985 Test: manual Change-Id: Idd67e7ada538c292d54a9478e7d05cfd2fc7ebb4
2018-02-23packages/apps/Car/Media: Set LOCAL_SDK_VERSION where possible. am: ↵Anton Hansson
d1e33a6afd am: ebd2f03645 am: 8a321151b0 Change-Id: Ic982dc21db1de6b7d366ec681a670311e6c5334b
2018-02-23packages/apps/Car/Media: Set LOCAL_SDK_VERSION where possible. am: d1e33a6afdAnton Hansson
am: ebd2f03645 Change-Id: Iaa33627b2f24fb59db5f36153d2180387a368cd7
2018-02-23packages/apps/Car/Media: Set LOCAL_SDK_VERSION where possible.Anton Hansson
am: d1e33a6afd Change-Id: I31bdb7ece2f8f73e0c4b4d7b93e77f3c21b2894a
2018-02-22packages/apps/Car/Media: Set LOCAL_SDK_VERSION where possible.android-wear-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-mr1-iot-preview-7Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Idc1938fe740614e3cc7004dfce4efbf1c762e0f9
2018-02-15Update references to car support library themes.Anthony Chen
Test: build and deploy media app Bug: 73501454 Change-Id: Ic0cef03607a374e51290eec81605e10705817702
2018-02-05Update Support Library targets for MDC handoverAlan Viverette
Bug: 72796206 Test: make Change-Id: I3d9d39f9bde7d4dbb8449755fd588b8a082884d7
2018-01-12Update media app after latest changes to car support library.Anthony Chen
Ensure that Media app is overriding the theme's colorPrimary color to have the correct color for the app bar. Also, remove elevation. Test: Build and deploy media app. Bug: 69866567 Change-Id: I883ae0be67e653f1079cfd0c256ee6543e897064
2017-12-11Merge "Prepare Media Session"Joseph Pirozzo