Commit 0f346c8c by aquilescanta Committed by Oliver Woodman

Fix withDecoderExtensions flavor detection in internal demo app

PiperOrigin-RevId: 322781213
parent c271eb85
......@@ -55,9 +55,11 @@ android {
productFlavors {
noDecoderExtensions {
dimension "decoderExtensions"
buildConfigField "boolean", "USE_DECODER_EXTENSIONS", "false"
}
withDecoderExtensions {
dimension "decoderExtensions"
buildConfigField "boolean", "USE_DECODER_EXTENSIONS", "true"
}
}
}
......
......@@ -61,7 +61,7 @@ public final class DemoUtil {
/** Returns whether extension renderers should be used. */
public static boolean useExtensionRenderers() {
return "withDecoderExtensions".equals(BuildConfig.FLAVOR);
return BuildConfig.USE_DECODER_EXTENSIONS;
}
public static RenderersFactory buildRenderersFactory(
......
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