OSDN Git Service

Add android:label to ExternalStorageProvider.
authorBen Lin <linben@google.com>
Fri, 17 Mar 2017 18:10:46 +0000 (11:10 -0700)
committerBen Lin <linben@google.com>
Mon, 20 Mar 2017 17:20:41 +0000 (10:20 -0700)
Test: Builds.
Bug: 30138665
Change-Id: I6ac028f97c1451f9d78f7f5a0960f1a3f8bde5b7

packages/ExternalStorageProvider/AndroidManifest.xml
packages/ExternalStorageProvider/res/values/strings.xml

index 0b290ce..1072f95 100644 (file)
@@ -9,6 +9,7 @@
     <application android:label="@string/app_label">
         <provider
             android:name=".ExternalStorageProvider"
+            android:label="@string/storage_description"
             android:authorities="com.android.externalstorage.documents"
             android:grantUriPermissions="true"
             android:exported="true"
index 8b16d3c..324fb59 100644 (file)
@@ -18,6 +18,9 @@
     <!-- Title of the external storage application [CHAR LIMIT=32] -->
     <string name="app_label">External Storage</string>
 
+    <!-- Meaningful storage location description shown to client applications [CHAR LIMIT=32] -->
+    <string name="storage_description">Local storage</string>
+
     <!-- Title for documents backend that offers internal storage. [CHAR LIMIT=24] -->
     <string name="root_internal_storage">Internal storage</string>
     <!-- Title for directory in which a user may store their own documents and files. [CHAR LIMIT=24] -->