mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Release ads loader on new intent in the demo app
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=208056265
This commit is contained in:
parent
5a8af74b4b
commit
93f591be3e
1 changed files with 1 additions and 0 deletions
|
|
@ -207,6 +207,7 @@ public class PlayerActivity extends Activity
|
||||||
@Override
|
@Override
|
||||||
public void onNewIntent(Intent intent) {
|
public void onNewIntent(Intent intent) {
|
||||||
releasePlayer();
|
releasePlayer();
|
||||||
|
releaseAdsLoader();
|
||||||
clearStartPosition();
|
clearStartPosition();
|
||||||
setIntent(intent);
|
setIntent(intent);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue