mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The canStop method gets called every second in a seperate thread until the test can be stopped. Replacing it with blockUntilEnded forwards the responsibility to stop to the test itself which has better control over the stop condition. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=163343824