mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -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…
x
Reference in New Issue
Block a user