Commit 0624046a by tonihei Committed by Oliver Woodman

Stop using deprecated method in demo app.

PiperOrigin-RevId: 236133636
parent f87cb81f
...@@ -89,7 +89,8 @@ public class DemoApplication extends Application { ...@@ -89,7 +89,8 @@ public class DemoApplication extends Application {
? DefaultRenderersFactory.EXTENSION_RENDERER_MODE_PREFER ? DefaultRenderersFactory.EXTENSION_RENDERER_MODE_PREFER
: DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON) : DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON)
: DefaultRenderersFactory.EXTENSION_RENDERER_MODE_OFF; : DefaultRenderersFactory.EXTENSION_RENDERER_MODE_OFF;
return new DefaultRenderersFactory(this, extensionRendererMode); return new DefaultRenderersFactory(/* context= */ this)
.setExtensionRendererMode(extensionRendererMode);
} }
public DownloadManager getDownloadManager() { public DownloadManager getDownloadManager() {
......
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