mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Merge "Fix download title to make more sense"
This commit is contained in:
commit
94ba7d4e69
1 changed files with 2 additions and 2 deletions
|
|
@ -172,8 +172,8 @@ public class MediaDetailPagerFragment extends SherlockFragment implements ViewPa
|
|||
Uri imageUri = Uri.parse(imageUrl);
|
||||
|
||||
DownloadManager.Request req = new DownloadManager.Request(imageUri);
|
||||
req.setDescription(m.getDisplayTitle());
|
||||
req.setTitle("Commons");
|
||||
req.setDescription(getString(R.string.app_name));
|
||||
req.setTitle(m.getDisplayTitle());
|
||||
req.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, fileName);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
||||
// Modern Android updates the gallery automatically. Yay!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue