summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorJimmy Dalqvist <jimmy.dalqvist@sonymobile.com>2013-04-12 10:50:56 +0200
committerTakahiro Aizawa <takahiro.aizawa@sonymobile.com>2015-10-23 11:36:44 +0900
commit28cae0436826145dcc60023598f2c55f06479b63 (patch)
tree8ffbfe6e11fd1607666aaeaf810620b6550bf6d9 /rs/java/android/renderscript/RenderScriptCacheDir.java
parentcc7373eafd0d5be7df8898748a700b47298ebf10 (diff)
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 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions