summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-11-27 16:13:49 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-11-27 16:13:49 -0800
commite33e83a5c3cc97ce3b47f1f9b6410c3928f1f7de (patch)
treeb25a6cdd7aebc7ebe63d0b698204aea3f60ecc2f /src/com/android/providers
parenta940d3700093fb83c8916bd4b218761e534b9bd4 (diff)
parent8ec8bdebaefcecb8b3e6b9f724aba7b25406db21 (diff)
downloadandroid_packages_providers_DownloadProvider-e33e83a5c3cc97ce3b47f1f9b6410c3928f1f7de.tar.gz
android_packages_providers_DownloadProvider-e33e83a5c3cc97ce3b47f1f9b6410c3928f1f7de.tar.bz2
android_packages_providers_DownloadProvider-e33e83a5c3cc97ce3b47f1f9b6410c3928f1f7de.zip
am 8ec8bdeb: Merge "Update extras for in-progress download." into jb-mr1.1-dev
* commit '8ec8bdebaefcecb8b3e6b9f724aba7b25406db21': Update extras for in-progress download.
Diffstat (limited to 'src/com/android/providers')
-rw-r--r--src/com/android/providers/downloads/Constants.java2
-rw-r--r--src/com/android/providers/downloads/DownloadReceiver.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/providers/downloads/Constants.java b/src/com/android/providers/downloads/Constants.java
index 8481435f..8d806182 100644
--- a/src/com/android/providers/downloads/Constants.java
+++ b/src/com/android/providers/downloads/Constants.java
@@ -75,6 +75,8 @@ public class Constants {
/** The default extension for binary files if we can't get one at the HTTP level */
public static final String DEFAULT_DL_BINARY_EXTENSION = ".bin";
+ public static final String PROVIDER_PACKAGE_NAME = "com.android.providers.downloads";
+
/**
* When a number has to be appended to the filename, this string is used to separate the
* base filename from the sequence number
diff --git a/src/com/android/providers/downloads/DownloadReceiver.java b/src/com/android/providers/downloads/DownloadReceiver.java
index cbc963ce..42f029a3 100644
--- a/src/com/android/providers/downloads/DownloadReceiver.java
+++ b/src/com/android/providers/downloads/DownloadReceiver.java
@@ -94,7 +94,7 @@ public class DownloadReceiver extends BroadcastReceiver {
handleNotificationBroadcast(context, intent);
} else {
sAsyncHandler.post(new Runnable() {
- @Override
+ @Override
public void run() {
handleNotificationBroadcast(context, intent);
result.finish();