mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix ImaAdsLoaderTest
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213824217
This commit is contained in:
parent
1c07b95fbb
commit
7e55a6311f
1 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
package com.google.android.exoplayer2.ext.ima;
|
package com.google.android.exoplayer2.ext.ima;
|
||||||
|
|
||||||
|
import android.os.Looper;
|
||||||
import com.google.android.exoplayer2.C;
|
import com.google.android.exoplayer2.C;
|
||||||
import com.google.android.exoplayer2.Player;
|
import com.google.android.exoplayer2.Player;
|
||||||
import com.google.android.exoplayer2.Timeline;
|
import com.google.android.exoplayer2.Timeline;
|
||||||
|
|
@ -110,6 +111,11 @@ import java.util.ArrayList;
|
||||||
|
|
||||||
// ExoPlayer methods. Other methods are unsupported.
|
// ExoPlayer methods. Other methods are unsupported.
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Looper getApplicationLooper() {
|
||||||
|
return Looper.getMainLooper();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addListener(Player.EventListener listener) {
|
public void addListener(Player.EventListener listener) {
|
||||||
listeners.add(listener);
|
listeners.add(listener);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue