From 2f39d81833807331c99d519f80b9eeb15ada4291 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Fri, 4 May 2012 10:59:15 -0700 Subject: Wrap share in chooser. Bug: 5418990 Change-Id: I9e46844d3fc983afc3c389ec64c099374f955610 --- ui/src/com/android/providers/downloads/ui/DownloadList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') 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; } -- cgit v1.2.3