Android 增加工模测试项
收到客户要求需要新增工模测试项,工模测试项一般是由宏控,只需要打开对应的宏即可,但尝试开启宏后重新编译发现修改并没生效,于是在FeatureOption.java中将对应测试项直接赋值为true,具体修改参照如下:
/vendor/freeme/packages/apps/FreemeFactoryTest/src/com/freeme/factory/config/FeatureOption.java
- public static final boolean FREEME_FACTORYMODE_DUALMIC = getBoolean("ro.freeme.hw_audio_dualmic");
+ public static final boolean FREEME_FACTORYMODE_DUALMIC = true;
重新编译验证,修改生效,工模中已增加对应测试项