diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-06-13 16:16:10 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2012-06-13 16:27:24 -0700 |
commit | a7406be94ec02056a8280726c5c1561d23d2a271 (patch) | |
tree | 4078e43d9d2e71a575c5d0087c045c123a8f90af /src/com/android/browser/DownloadHandler.java | |
parent | 6c008afd80afe79b5e6024952ee541262ceac9da (diff) | |
download | packages_apps_Browser-a7406be94ec02056a8280726c5c1561d23d2a271.zip packages_apps_Browser-a7406be94ec02056a8280726c5c1561d23d2a271.tar.gz packages_apps_Browser-a7406be94ec02056a8280726c5c1561d23d2a271.tar.bz2 |
Don't use the new task flag for download.
This flag can incorrectly turn the Gallery app into a new task when trying
to play some video.
bug:6652951
Change-Id: Iec18ac0c9514101780e7cc6361dbce6c1e9320cb
Diffstat (limited to 'src/com/android/browser/DownloadHandler.java')
-rw-r--r-- | src/com/android/browser/DownloadHandler.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/browser/DownloadHandler.java b/src/com/android/browser/DownloadHandler.java index 31212b4..2fc8631 100644 --- a/src/com/android/browser/DownloadHandler.java +++ b/src/com/android/browser/DownloadHandler.java @@ -67,7 +67,6 @@ public class DownloadHandler { // that matches. Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(url), mimetype); - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); ResolveInfo info = activity.getPackageManager().resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); if (info != null) { |