summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2017-03-17 11:08:33 -0700
committerBen Lin <linben@google.com>2017-03-17 17:11:15 -0700
commitb5a45fbcdbebb3a2a76d4c474f90e22e7ddfb0c1 (patch)
treeb54c6356c55827baf9c201d62fd7e07c7fcfac2a
parent0a1a4287841fa10274c610de31e08765ffa0c269 (diff)
downloadandroid_packages_providers_DownloadProvider-b5a45fbcdbebb3a2a76d4c474f90e22e7ddfb0c1.tar.gz
android_packages_providers_DownloadProvider-b5a45fbcdbebb3a2a76d4c474f90e22e7ddfb0c1.tar.bz2
android_packages_providers_DownloadProvider-b5a45fbcdbebb3a2a76d4c474f90e22e7ddfb0c1.zip
Add android:label to DownloadStorageProvider.
Test: Builds. Bug: 30138665 Change-Id: I2ba32a7e18b69a94996fdfff50d2a2b3c8b6d7a0
-rw-r--r--AndroidManifest.xml1
-rw-r--r--res/values/strings.xml3
2 files changed, 4 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 87205238..f802f056 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -87,6 +87,7 @@
<provider
android:name=".DownloadStorageProvider"
+ android:label="@string/storage_description"
android:authorities="com.android.providers.downloads.documents"
android:grantUriPermissions="true"
android:exported="true"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 5ebb97db..c1529419 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -18,6 +18,9 @@
<!-- This is the name of the Download Manager application. -->
<string name="app_label">Download Manager</string>
+ <!-- Short description shown client applications describing storage location-->
+ <string name="storage_description">Downloads</string>
+
<!-- This is the short description of a permission associated with the
Android Download Manager. It is displayed as part of the description
of any application that was granted that permission.