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
1 changed files with 1 additions and 1 deletions

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