Commit 8391e6f8 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix CTS tests for AudioTrack.setPlaybackHeadPosition()

Tests were incorrectly expecting that setPlaybackHeadPosition() did
something meaningful and returned success for a streaming AudioTrack.
AudioTrack implementation now disallows setPlaybackHeadPosition for
streaming. This change fixes the tests to use a static buffer AudioTrack
with setPlaybackHeadPosition().

Bug: 8181114
Change-Id: I61c19b2f75351f18d2b312e065ef601c2cda37a3
parent 717ced18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment