David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [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 | |
| 20 | <!-- The <device> element should contain one or more <storage> elements. |
| 21 | Exactly one of these should have the attribute primary="true". |
| 22 | This storage will be the primary external storage and should have path="/mnt/sdcard". |
| 23 | Each storage should have both a path and description attribute set. |
| 24 | The following boolean attributes are optional: |
| 25 | |
| 26 | primary: this storage is the primary external storage |
| 27 | removable: this is removable storage (for example, a real SD card) |
| 28 | emulated: the storage is emulated via the FUSE sdcard daemon |
| 29 | mtp-reserve: number of megabytes of storage MTP should reserve for free storage |
| 30 | (used for emulated storage that is shared with system's data partition) |
| 31 | |
| 32 | A storage should not have both emulated and removable set to true |
| 33 | --> |
| 34 | |
| 35 | <StorageList xmlns:android="http://schemas.android.com/apk/res/android"> |
| 36 | <!-- removable is not set in nosdcard product --> |
| 37 | <storage android:mountPoint="/storage/sdcard0" |
| 38 | android:storageDescription="@string/storage_internal" |
| 39 | android:primary="true" |
| 40 | android:removable="false" |
| 41 | android:allowMassStorage="true" /> |
| 42 | |
| 43 | <storage android:mountPoint="/storage/sdcard1" |
| 44 | android:storageDescription="@string/storage_sd_card" |
| 45 | android:primary="false" |
| 46 | android:removable="true" |
| 47 | android:allowMassStorage="true" /> |
| 48 | |
David Ferguson | c5f78a2 | 2013-02-12 18:46:15 -0500 | [diff] [blame] | 49 | <storage android:mountPoint="/storage/usbdisk0" |
David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [blame] | 50 | android:storageDescription="@string/storage_usb" |
| 51 | android:primary="false" |
| 52 | android:removable="true" /> |
| 53 | |
| 54 | </StorageList> |