GoogleGit

blob: 98841bfe9d61ea40d526ab2f01e128d12f35f28d [file] [log] [blame]
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. **
  4. ** Copyright 2011, The Android Open Source Project
  5. **
  6. ** Licensed under the Apache License, Version 2.0 (the "License")
  7. ** you may not use this file except in compliance with the License.
  8. ** You may obtain a copy of the License at
  9. **
  10. ** http://www.apache.org/licenses/LICENSE-2.0
  11. **
  12. ** Unless required by applicable law or agreed to in writing, software
  13. ** distributed under the License is distributed on an "AS IS" BASIS,
  14. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ** See the License for the specific language governing permissions and
  16. ** limitations under the License.
  17. */
  18. -->
  19. <!-- The <device> element should contain one or more <storage> elements.
  20. Exactly one of these should have the attribute primary="true".
  21. This storage will be the primary external storage and should have path="/mnt/sdcard".
  22. Each storage should have both a path and description attribute set.
  23. The following boolean attributes are optional:
  24. primary: this storage is the primary external storage
  25. removable: this is removable storage (for example, a real SD card)
  26. emulated: the storage is emulated via the FUSE sdcard daemon
  27. mtp-reserve: number of megabytes of storage MTP should reserve for free storage
  28. (used for emulated storage that is shared with system's data partition)
  29. allowMassStorage: (boolean) true if this volume can be shared via USB mass storage
  30. maxFileSize: (integer) maximum file size in megabytes
  31. A storage should not have both emulated and removable set to true
  32. -->
  33. <StorageList xmlns:android="http://schemas.android.com/apk/res/android">
  34. <!-- internal emulated storage -->
  35. <storage android:mountPoint="/storage/sdcard0"
  36. android:storageDescription="@string/storage_internal"
  37. android:primary="true"
  38. android:emulated="true"
  39. android:mtpReserve="100" />
  40. <!-- external SD card -->
  41. <storage android:mountPoint="/storage/sdcard1"
  42. android:storageDescription="@string/storage_sd_card"
  43. android:removable="true"
  44. android:maxFileSize="4096" />
  45. </StorageList>