summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-05-04 10:59:15 -0700
committerJeff Sharkey <jsharkey@android.com>2012-05-04 10:59:15 -0700
commit2f39d81833807331c99d519f80b9eeb15ada4291 (patch)
treed9d3ee87291210a1fccec22d1180f90b29df964c /ui
parent15ea8d69f74735e2013cc11bc4899e0edc945b8a (diff)
downloadandroid_packages_providers_DownloadProvider-2f39d81833807331c99d519f80b9eeb15ada4291.tar.gz
android_packages_providers_DownloadProvider-2f39d81833807331c99d519f80b9eeb15ada4291.tar.bz2
android_packages_providers_DownloadProvider-2f39d81833807331c99d519f80b9eeb15ada4291.zip
Wrap share in chooser.
Bug: 5418990 Change-Id: I9e46844d3fc983afc3c389ec64c099374f955610
Diffstat (limited to 'ui')
-rw-r--r--ui/src/com/android/providers/downloads/ui/DownloadList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/com/android/providers/downloads/ui/DownloadList.java b/ui/src/com/android/providers/downloads/ui/DownloadList.java
index 281426ad..103d3f83 100644
--- a/ui/src/com/android/providers/downloads/ui/DownloadList.java
+++ b/ui/src/com/android/providers/downloads/ui/DownloadList.java
@@ -761,7 +761,7 @@ public class DownloadList extends Activity {
intent.setType(mimeType);
}
}
- Intent intentNew = Intent.createChooser(intent, getText(R.string.download_share_dialog));
+ intent = Intent.createChooser(intent, getText(R.string.download_share_dialog));
startActivity(intent);
return true;
}