mirror of
https://github.com/androidx/media.git
synced 2025-05-05 14:40:50 +08:00
Upgrade IMA SDK dependency to 3.21.0
Call the new method AdsLoader.release() to allow the IMA SDK to dispose of its WebView. Issue: #7344 PiperOrigin-RevId: 339022162
This commit is contained in:
parent
9ad70246e6
commit
7cc129d7b7
@ -6,6 +6,9 @@
|
|||||||
* Suppress exceptions from registering/unregistering the stream volume
|
* Suppress exceptions from registering/unregistering the stream volume
|
||||||
receiver ([#8087](https://github.com/google/ExoPlayer/issues/8087)),
|
receiver ([#8087](https://github.com/google/ExoPlayer/issues/8087)),
|
||||||
([#8106](https://github.com/google/ExoPlayer/issues/8106)).
|
([#8106](https://github.com/google/ExoPlayer/issues/8106)).
|
||||||
|
* IMA extension:
|
||||||
|
* Upgrade IMA SDK dependency to 3.21.0, and release the `AdsLoader`
|
||||||
|
([#7344](https://github.com/google/ExoPlayer/issues/7344)).
|
||||||
|
|
||||||
### 2.12.1 (2020-10-23) ###
|
### 2.12.1 (2020-10-23) ###
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api 'com.google.ads.interactivemedia.v3:interactivemedia:3.20.1'
|
api 'com.google.ads.interactivemedia.v3:interactivemedia:3.21.0'
|
||||||
implementation project(modulePrefix + 'library-core')
|
implementation project(modulePrefix + 'library-core')
|
||||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||||
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0'
|
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0'
|
||||||
|
@ -871,6 +871,7 @@ public final class ImaAdsLoader
|
|||||||
if (configuration.applicationAdErrorListener != null) {
|
if (configuration.applicationAdErrorListener != null) {
|
||||||
adsLoader.removeAdErrorListener(configuration.applicationAdErrorListener);
|
adsLoader.removeAdErrorListener(configuration.applicationAdErrorListener);
|
||||||
}
|
}
|
||||||
|
adsLoader.release();
|
||||||
}
|
}
|
||||||
imaPausedContent = false;
|
imaPausedContent = false;
|
||||||
imaAdState = IMA_AD_STATE_NONE;
|
imaAdState = IMA_AD_STATE_NONE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user