diff options
author | Jimmy Dalqvist <jimmy.dalqvist@sonymobile.com> | 2013-04-12 10:50:56 +0200 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-04-14 00:49:34 -0700 |
commit | 15e7a21560764d644673854894eefbcd759d420a (patch) | |
tree | dbe4932f39f582061edd6cbbc482b4b93dce7146 /packages/WAPPushManager/src/com/android/smspush/WapPushManager.java | |
parent | ad3fa4175b3d30bc071c516d948dd2d3cada4aff (diff) | |
download | frameworks_base-15e7a21560764d644673854894eefbcd759d420a.zip frameworks_base-15e7a21560764d644673854894eefbcd759d420a.tar.gz frameworks_base-15e7a21560764d644673854894eefbcd759d420a.tar.bz2 |
Correct MediaAudioTrackTest testPlaybackHeadPositionAfterStop
When calling AudioTrack.stop the system needs some time to stop
the audiotrack and set the position to 0.
The current sleep time of 100ms is not enough.
Update the test to use the same strategy as the CTS test,
which is to call getPlaybackHeadPosition multiple time before
giving up and failing the test.
Change-Id: Ie938929c009c41e101782b4a46ac01a0aa73ee34
Diffstat (limited to 'packages/WAPPushManager/src/com/android/smspush/WapPushManager.java')
0 files changed, 0 insertions, 0 deletions