summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-10-04 14:03:06 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-04 14:03:06 -0700
commit10d5b0966d1b6ab0e3b63c71d5325403e75b647e (patch)
treef80bfe84762d9c46202a79c5320546593ae796f8 /core/res
parentb12bfbd4df985041ab0e584ef5a746328baac038 (diff)
parent407f625a9b8e356e765a5ec587c443af1f3aadb5 (diff)
downloadframeworks_base-10d5b0966d1b6ab0e3b63c71d5325403e75b647e.zip
frameworks_base-10d5b0966d1b6ab0e3b63c71d5325403e75b647e.tar.gz
frameworks_base-10d5b0966d1b6ab0e3b63c71d5325403e75b647e.tar.bz2
am 407f625a: Add new API to find out whether external storage is removable.
Merge commit '407f625a9b8e356e765a5ec587c443af1f3aadb5' into gingerbread-plus-aosp * commit '407f625a9b8e356e765a5ec587c443af1f3aadb5': Add new API to find out whether external storage is removable.
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/values/config.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 98bd271..7023647 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -71,6 +71,15 @@
when there's no network connection. If the scan doesn't timeout, use zero -->
<integer name="config_radioScanningTimeout">0</integer>
+ <!-- A product with no SD card == not removable. -->
+ <bool name="config_externalStorageRemovable" product="nosdcard">false</bool>
+ <!-- Configures whether the primary external storage device is
+ removable. For example, if external storage is on an SD card,
+ it is removable; if it is built in to the device, it is not removable.
+ The default product has external storage on an SD card, which is
+ removable. -->
+ <bool name="config_externalStorageRemovable" product="default">true</bool>
+
<!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
Please don't copy them, copy anything else. -->