bachinger
4bb6036cf6
add playback state changed listener
...
This change deprecates Player.onPlayerStateChanged(boolean pwr, int state). It removes deprecation for trivial cases. I'll remove other deprecated usages (mostly in ui module) in follow-up CLs to not bloat this CL.
PiperOrigin-RevId: 292917872
2020-02-11 17:07:03 +00:00
bachinger
21fe13d3d7
add playWhenReady changed callback with reasons
...
PiperOrigin-RevId: 292194805
2020-01-30 19:30:29 +00:00
olly
cb873dd1ee
Use play and pause convenience methods
...
PiperOrigin-RevId: 283949259
2019-12-06 19:19:18 +00:00
aquilescanta
53283ecb52
Add CastPlayer tests for repeatMode masking
...
PiperOrigin-RevId: 279091742
2019-11-15 05:12:42 +00:00
aquilescanta
bae2b1e4bc
Add tests for playWhenReady masking
...
PiperOrigin-RevId: 277057328
2019-10-30 08:51:05 +00:00
olly
8be78d47ac
Cast: Add JSON serialization/deserialization for MediaItem
...
This will allow the Cast extension to reconstruct MediaItems from MediaQueueItems
obtained from the receiver's queue.
PiperOrigin-RevId: 260554381
2019-07-29 21:29:23 +01:00
olly
596be3b71b
Cast: Simplify MediaItem/Sample to a single MediaItem class
...
PiperOrigin-RevId: 260021990
2019-07-26 16:34:20 +01:00
olly
223cc5f179
Cast extension: Remove unused parts of MediaItem
...
PiperOrigin-RevId: 259586520
2019-07-23 23:18:08 +01:00
olly
7798c07f64
Remove ExoCast
...
PiperOrigin-RevId: 255964199
2019-07-02 17:48:22 +01:00
aquilescanta
0ddd3c2bd0
Implement DecryptableSampleQueueReader.isReady
...
PiperOrigin-RevId: 254746146
2019-07-02 17:43:00 +01:00
tonihei
33c677846a
Use versioned manifest in all Robolectric tests.
...
We are currently defaulting to targetSdk=1 as no targetSdk is specified. Only
tests which explicitly ask for another SDK use another test SDK. With the
versioned manifest, all tests run using the targetSDK by default.
PiperOrigin-RevId: 249060796
2019-05-21 13:51:43 +01:00
aquilescanta
129a64c477
Use getItemIds to get the actual size of the Cast media queue
...
Issue:#4964
PiperOrigin-RevId: 241311763
2019-04-01 20:32:01 +01:00
tonihei
8e80acd18f
Use androidx.test and extensions.
...
This replaces the deprecated usages of RobolectricTestRunner and
RuntimeEnvironent and fully migrates the tests to androidx.
PiperOrigin-RevId: 238011667
2019-03-15 04:53:12 +00:00
tonihei
edabbd52d0
Update Robolectric and Truth.
...
PiperOrigin-RevId: 233612344
2019-02-18 15:59:32 +00:00
aquilescanta
140d5fc9a9
Fix naming in MediaItemTest
...
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219472219
2018-10-31 17:46:28 +00:00
aquilescanta
db832d691b
Add equals and hashCode to MediaItem
...
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219470655
2018-10-31 17:44:47 +00:00
aquilescanta
776ad20a50
Add a MediaQueue abstraction to the cast extension
...
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=214598078
2018-09-27 17:41:10 +01:00
tonihei
66d2b76a6c
Remove test max SDK version overrides.
...
These don't seem to be needed anymore. All tests run without them in gradle
and Blaze.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=191867518
2018-04-08 16:39:57 +01:00
olly
8b5a34769f
Remove unnecessary line from test manifests
...
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=191409777
2018-04-03 15:30:40 +01:00
tonihei
b47fb2826b
Move extension tests to Robolectric.
...
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=187021822
2018-02-27 11:03:50 +00:00
aquilescanta
ac630b616c
Propagate RemoteMediaClient's current duration to timeline if necessary
...
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=183390851
2018-02-01 14:36:20 +00:00