<!-- 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>
product="nosdcard"
product="default"
这个值是在哪里设置的?
------解决思路----------------------
在源码目录内frameworks\base\core\res\res\values\config.xml
<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>