Commit b467dc61 authored by Toni Beier's avatar Toni Beier

Refactor: Application context is used for opal download

parent 2c8d51a3
......@@ -135,7 +135,7 @@ public class OlatFragment extends AbstractASiSTFragment {
.hosts(R.array.olat_allowed_download_hosts, getContext())
.build();
webView.setDownloadListener(new OpalDownloadListener(this.getContext(), allowedHosts));
webView.setDownloadListener(new OpalDownloadListener(this.getContext().getApplicationContext(), allowedHosts));
return view;
}
......
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 to comment