mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00
Fix ImaAdsLoaderTest
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213824217
This commit is contained in:
parent
a0ab96623a
commit
e90d36cb69
@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.google.android.exoplayer2.ext.ima;
|
||||
|
||||
import android.os.Looper;
|
||||
import com.google.android.exoplayer2.C;
|
||||
import com.google.android.exoplayer2.Player;
|
||||
import com.google.android.exoplayer2.Timeline;
|
||||
@ -110,6 +111,11 @@ import java.util.ArrayList;
|
||||
|
||||
// ExoPlayer methods. Other methods are unsupported.
|
||||
|
||||
@Override
|
||||
public Looper getApplicationLooper() {
|
||||
return Looper.getMainLooper();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addListener(Player.EventListener listener) {
|
||||
listeners.add(listener);
|
||||
|
Loading…
x
Reference in New Issue
Block a user