Skip to content
Snippets Groups Projects
Commit 7912dec9 authored by Massimiliano Lentini's avatar Massimiliano Lentini
Browse files

I swear, this time i thruly fixed the download thing

parent 9f992818
No related merge requests found
......@@ -969,7 +969,7 @@ public class MainActivity extends AppCompatActivity implements View.OnLongClickL
//Make download possible
webView.setDownloadListener(new DownloadListener() {
@RequiresApi(api = Build.VERSION_CODES.M)//required for version
@TargetApi(Build.VERSION_CODES.M)
public void onDownloadStart(String url, String userAgent,
String contentDisposition, String mimetype,
long contentLength) {
......
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