Skip to content

Commit

Permalink
Enable IMA SDK debug mode if flag is set
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=208054150
  • Loading branch information
andrewlewis authored and ojw28 committed Aug 13, 2018
1 parent 9db0dbc commit 4d6d790
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ private ImaAdsLoader(
this.imaFactory = imaFactory;
if (imaSdkSettings == null) {
imaSdkSettings = imaFactory.createImaSdkSettings();
if (DEBUG) {
imaSdkSettings.setDebugMode(true);
}
}
imaSdkSettings.setPlayerType(IMA_SDK_SETTINGS_PLAYER_TYPE);
imaSdkSettings.setPlayerVersion(IMA_SDK_SETTINGS_PLAYER_VERSION);
Expand Down

0 comments on commit 4d6d790

Please sign in to comment.