-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove deprecated storage_list.xml"
This reverts commit 0b3467b. Apparently not deprecated since this breaks mounting sdcard. Still not working correctly after reverting this but it seemed to be even more broken with this. Change-Id: I63a70d055454cd83031b96f786c9fe1aff198de9
- Loading branch information
1 parent
0b3467b
commit 9b24bb2
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
** | ||
** Copyright 2011, The Android Open Source Project | ||
** | ||
** Licensed under the Apache License, Version 2.0 (the "License") | ||
** you may not use this file except in compliance with the License. | ||
** You may obtain a copy of the License at | ||
** | ||
** http://www.apache.org/licenses/LICENSE-2.0 | ||
** | ||
** Unless required by applicable law or agreed to in writing, software | ||
** distributed under the License is distributed on an "AS IS" BASIS, | ||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
** See the License for the specific language governing permissions and | ||
** limitations under the License. | ||
*/ | ||
--> | ||
|
||
<!-- 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 mountPoint="/mnt/sdcard". | ||
Each storage should have both a mountPoint and storageDescription attribute. | ||
The following attributes are optional: | ||
primary: (boolean) this storage is the primary external storage | ||
removable: (boolean) this is removable storage (for example, a real SD card) | ||
emulated: (boolean) the storage is emulated via the FUSE sdcard daemon | ||
mtpReserve: (integer) number of megabytes of storage MTP should reserve for free storage | ||
(used for emulated storage that is shared with system's data partition) | ||
allowMassStorage: (boolean) true if this volume can be shared via USB mass storage | ||
maxFileSize: (integer) maximum file size in megabytes | ||
A storage should not have both emulated and removable set to true | ||
--> | ||
|
||
<StorageList xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<storage | ||
android:storageDescription="@string/storage_internal" | ||
android:emulated="true" | ||
android:mtpReserve="100" /> | ||
</StorageList> |