I swear, this time i thruly fixed the download thing
This commit is contained in:
parent
9f99281862
commit
7912dec909
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue