Skip to content

Commit

Permalink
feat(unification): remove unused files and ad type from original SDK #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinPostindustria committed Mar 23, 2022
1 parent a2f0996 commit d8c1bc5
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 1,589 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,11 @@ public void fetchDemand(@NonNull Object adObj, @NonNull OnCompleteListener liste
}
}

if (configuration.getAdType() == AdType.BANNER || configuration.getAdType() == AdType.VIDEO) {
HashSet<AdSize> sizes = configuration.getSizes();
for (AdSize size : sizes) {
if (size.getWidth() < 0 || size.getHeight() < 0) {
listener.onComplete(ResultCode.INVALID_SIZE);
return;
}
HashSet<AdSize> sizes = configuration.getSizes();
for (AdSize size : sizes) {
if (size.getWidth() < 0 || size.getHeight() < 0) {
listener.onComplete(ResultCode.INVALID_SIZE);
return;
}
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d8c1bc5

Please sign in to comment.