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

Skip to content
Commit c7bb8324 authored by jiabin's avatar jiabin
Browse files

Fix failure at AudioTrack_ListenerTest#testAudioTrackCallback

After cold start, running the test will cause failure. The reason is
that with cold start, the buffer is being processed faster than the
position callback.
Calling the callback earlier at the very start will fix this issue.

Bug: 63056426
Test: adb shell am instrument -e class 'android.media.cts.AudioTrack_ListenerTest#testAudioTrackCallback'
      -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Change-Id: I7416cecb2837fac4a966e832412948c357e7b8dc
parent da071c34
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