I swear, this time i thruly fixed the download thing

This commit is contained in:
Massimiliano Lentini 2018-09-13 21:30:45 +02:00
parent 9f99281862
commit 7912dec909

View file

@ -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) {