summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-09-17 16:45:58 -0700
committerSteve Howard <showard@google.com>2010-09-21 12:43:05 -0700
commitd319729622da1893e895f2e35f41d01ecdca3705 (patch)
tree02994abdf2725061b798cb32339b044592cbf581 /AndroidManifest.xml
parent78f433c68f14dfba605ceb0e5f3dc54243efd2b2 (diff)
downloadandroid_packages_providers_DownloadProvider-d319729622da1893e895f2e35f41d01ecdca3705.zip
android_packages_providers_DownloadProvider-d319729622da1893e895f2e35f41d01ecdca3705.tar.gz
android_packages_providers_DownloadProvider-d319729622da1893e895f2e35f41d01ecdca3705.tar.bz2
Implement dialogs for wifi required + recommended limits.
This change extends the original work to add a size limit over which wifi is required to download a file. First, this change adds a second size limit, over which wifi is recommended but not required. The user has the option to bypass this limit. Second, this change implements dialogs shown to the user when either limit is exceeded. These dialogs are shown by the background download manager service when a download is started and found to be over the limit (and wifi is not connected). I'm including one small fix to the unit tests needed from the previous change. Change-Id: Ia0f0acaa7b0d00e98355925c3446c0472048df10
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6108ac2..f7001ff 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -76,5 +76,8 @@
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
+
+ <activity android:name=".SizeLimitActivity"
+ android:launchMode="singleTask" />
</application>
</manifest>