summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-09-30 15:12:58 -0700
committerSteve Howard <showard@google.com>2010-09-30 15:12:58 -0700
commit4ae7507440b338a9ac9aea230ee8046a805adae0 (patch)
tree6df593d3b5d0b59c9861919afce2bb8cf9ebb806
parentb108a273b150e81bf26553b8851d6241bc711f98 (diff)
downloadandroid_packages_providers_DownloadProvider-4ae7507440b338a9ac9aea230ee8046a805adae0.zip
android_packages_providers_DownloadProvider-4ae7507440b338a9ac9aea230ee8046a805adae0.tar.gz
android_packages_providers_DownloadProvider-4ae7507440b338a9ac9aea230ee8046a805adae0.tar.bz2
Make downloads UI singleTop.
Browser downloads, when clicked, will launch the downloads UI. When clicked from the downloads UI (as opposed to a notification), we don't want to launch a second copy of the downloads UI activity. Change-Id: I0ae546bb423814f1bd1d6481085bf5f237d1213b
-rw-r--r--ui/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/AndroidManifest.xml b/ui/AndroidManifest.xml
index de8da45..c2c9324 100644
--- a/ui/AndroidManifest.xml
+++ b/ui/AndroidManifest.xml
@@ -9,7 +9,8 @@
<application android:process="android.process.media"
android:label="@string/app_label"
android:icon="@drawable/ic_launcher_download">
- <activity android:name=".DownloadList">
+ <activity android:name=".DownloadList"
+ android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />