<!-- 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"
这个值是在哪里设置的?
<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"
这个值是在哪里设置的?
<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>
在source/device/.../device.mk中
product_characteristics=default
1、device/samsung/tuna/device.mk
这个文件中原是:PRODUCT_CHARACTERISTICS := nosdcard。我把nosdcard改成default,没有效果。
2、device/ti/panda/device.mk
该文件里是:PRODUCT_CHARACTERISTICS := tablet,nosdcard。我感觉不是这儿,也没有试着修改这里尝试。
楼主可否帮忙分析一下问题所在?
另外:我这边的frameworks\base\core\res\res\values\config.xml文件中并没有config_externalStorageRemovable属性,是不是必须device.mk和config.xml均配置后才有效果?