mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Fix playback tests
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135100455
This commit is contained in:
parent
b29b4f7e1a
commit
f2beec4c82
1 changed files with 3 additions and 1 deletions
|
|
@ -19,6 +19,8 @@ import android.annotation.TargetApi;
|
|||
import android.media.MediaDrm;
|
||||
import android.media.UnsupportedSchemeException;
|
||||
import android.net.Uri;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.test.ActivityInstrumentationTestCase2;
|
||||
import android.util.Log;
|
||||
import com.google.android.exoplayer2.C;
|
||||
|
|
@ -801,7 +803,7 @@ public final class DashTest extends ActivityInstrumentationTestCase2<HostActivit
|
|||
|
||||
private DashTestTrackSelector(String audioFormatId, String[] videoFormatIds,
|
||||
boolean canIncludeAdditionalVideoFormats) {
|
||||
super(null);
|
||||
super(new Handler(Looper.getMainLooper()));
|
||||
this.audioFormatId = audioFormatId;
|
||||
this.videoFormatIds = videoFormatIds;
|
||||
this.canIncludeAdditionalVideoFormats = canIncludeAdditionalVideoFormats;
|
||||
|
|
|
|||
Loading…
Reference in a new issue