summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-09-11 23:18:48 -0700
committerJeff Sharkey <jsharkey@android.com>2012-09-11 23:18:48 -0700
commit0d06d9429fdf9758510069d9d11ba0d9edafa7f5 (patch)
tree04be7288e75e2cf8dced4898a53b3bd12832c676 /overlay
parent0fd66f5f7463e6be7a8883bcfa578f842bbee875 (diff)
downloaddevice_samsung_tuna-0d06d9429fdf9758510069d9d11ba0d9edafa7f5.zip
device_samsung_tuna-0d06d9429fdf9758510069d9d11ba0d9edafa7f5.tar.gz
device_samsung_tuna-0d06d9429fdf9758510069d9d11ba0d9edafa7f5.tar.bz2
Include user identifier in external storage paths.
When building external storage paths, always include user in path to enable cross-user paths and aid debugging. Bug: 7131382 Change-Id: Ic065fb8739a9d5d6e7f88ab93932391d906fed57
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/xml/storage_list.xml25
1 files changed, 6 insertions, 19 deletions
diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
index 0a03928..344fe1e 100644
--- a/overlay/frameworks/base/core/res/res/xml/storage_list.xml
+++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
@@ -17,25 +17,12 @@
*/
-->
-<!-- The <device> element should contain one or more <storage> elements.
- Exactly one of these should have the attribute primary="true".
- This storage will be the primary external storage and should have path="/mnt/sdcard".
- Each storage should have both a path and description attribute set.
- The following boolean attributes are optional:
-
- primary: this storage is the primary external storage
- removable: this is removable storage (for example, a real SD card)
- emulated: the storage is emulated via the FUSE sdcard daemon
- mtp-reserve: number of megabytes of storage MTP should reserve for free storage
- (used for emulated storage that is shared with system's data partition)
-
- A storage should not have both emulated and removable set to true
--->
+<!-- See storage config details at http://source.android.com/tech/storage/ -->
<StorageList xmlns:android="http://schemas.android.com/apk/res/android">
- <storage android:mountPoint="/storage/sdcard0"
- android:storageDescription="@string/storage_internal"
- android:primary="true"
- android:emulated="true"
- android:mtpReserve="100" />
+ <!-- internal emulated storage -->
+ <storage
+ android:storageDescription="@string/storage_internal"
+ android:emulated="true"
+ android:mtpReserve="100" />
</StorageList>