Commit 4d6d7903 by andrewlewis Committed by Oliver Woodman

Enable IMA SDK debug mode if flag is set

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=208054150
parent 9db0dbc0
......@@ -381,6 +381,9 @@ public final class 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment