xml里面product的值在哪里设置的?!-- A product with no SD card not removable. --bool nameconf
xml里面product的值在哪里设置的?
<!-- 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>
