Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42be85d8 authored by Andrew Lee's avatar Andrew Lee
Browse files

Fix CallDetailActivity tests.

+ Reset the AsyncTaskExecutor's instance between calls in tests.
I don't know why this is necessary, but it fixes a class of problems
which were happening.

+ Don't try to release a media player if it has not been prepared.

+ Handle possible race conditions since MediaPlayer's async prepare
may be buffering or finished when a test assert is executed.

+ Add asset file no longer provided by variablespeed library.

- Cleanup some stream copy code.

Change-Id: I0ae5fde00514c6dcdb1e9c063435a13eed6e8528
parent 6c327dcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment