.getName();
Log.d(LOG, "Downloading to: " + destFile);
- request.setDestinationUri(Uri.fromFile(new File(Environment
- .getExternalStorageDirectory(), destFile)));
+ request.setDestinationInExternalFilesDir(getApplicationContext(), null, destFile);
} catch (MalformedURLException e) {
throw new RuntimeException(e);
}