Skip to content

Commit aebc912

Browse files
committed
fix parameter errorCode
1 parent 5d98653 commit aebc912

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mopub-sdk/mopub-sdk-base/src/main/java/com/mopub/mobileads/MoPubView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ public void setBannerCustomEventAdListener(BannerCustomEventAdListener listener)
521521
public BannerAdListener getBannerAdListener() {
522522
return mBannerAdListener;
523523
}
524-
524+
525525
public void setLocalExtras(Map<String, Object> localExtras) {
526526
if (mAdViewController != null) mAdViewController.setLocalExtras(localExtras);
527527
}

mopub-sdk/mopub-sdk-rewardedvideo/src/main/java/com/mopub/mobileads/MoPubRewardedVideoManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ protected void forEach(@NonNull final String moPubId) {
687687
public static <T extends CustomEventRewardedAd>
688688
void onRewardedVideoLoadFailure(@NonNull final Class<T> customEventClass, final String thirdPartyId, final MoPubErrorCode errorCode) {
689689
if(sInstance.mCustomEventAdListener != null) {
690-
sInstance.mCustomEventAdListener.onCustomEventRewardedVideoFailed(customEventClass.getSimpleName());
690+
sInstance.mCustomEventAdListener.onCustomEventRewardedVideoFailed(customEventClass.getSimpleName(), errorCode);
691691
}
692692
postToInstance(new ForEachMoPubIdRunnable(customEventClass, thirdPartyId) {
693693
@Override

0 commit comments

Comments
 (0)