]> nv-tegra.nvidia Code Review - android/platform/packages/providers/DownloadProvider.git/commitdiff
Wrap share in chooser.
authorJeff Sharkey <jsharkey@android.com>
Fri, 4 May 2012 17:59:15 +0000 (10:59 -0700)
committerJeff Sharkey <jsharkey@android.com>
Fri, 4 May 2012 17:59:15 +0000 (10:59 -0700)
Bug: 5418990
Change-Id: I9e46844d3fc983afc3c389ec64c099374f955610

ui/src/com/android/providers/downloads/ui/DownloadList.java

index 281426ad082ab17ef8e44b63db91273f01d7e4a6..103d3f83dc9354c8c615b478cd7225bd59100e42 100644 (file)
@@ -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;
     }