media/robolectricutils
tonihei 0d83c44699 Clean up offload state tracking
1. The offloadSchedulingEnabled value doesn't need to be in
   PlaybackInfo because it's never updated in EPII.
2. The sleepingForOffload value in EPII wasn't updated explicitly
   (just via the return value of a method). It was also only
   meant to be enabled while the player is actively playing, but
   confusingly triggered from a path where the player may
   theoretically be buffering as well.
3. The offload sleeping (=not scheduling doSomeWork) was interwoven
   into the actual scheduling code making it slightly hard to follow.
   This can be improved slightly by keeping the offload sleeping
   decision and the scheduling separate.

PiperOrigin-RevId: 457427293
(cherry picked from commit aedde2de39)
2022-06-27 10:34:56 +01:00
..
src Clean up offload state tracking 2022-06-27 10:34:56 +01:00
build.gradle Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
README.md Tidy READMEs 2021-10-26 14:08:21 +01:00

Robolectric test utils module

Provides test infrastructure for Robolectric-based media tests.