-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":89,"versionName":"202103052229","enabled":true,"outputFile":"FactoryMode_V89_202103052229_release.apk","fullName":"release","baseName":"release"},"path":"FactoryMode_V89_202103052229_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":93,"versionName":"202103201204","enabled":true,"outputFile":"FactoryMode_V93_202103201204_release.apk","fullName":"release","baseName":"release"},"path":"FactoryMode_V93_202103201204_release.apk","properties":{}}]
\ No newline at end of file
PPG_EGC_TYPE_HRS3301,
PPG_EGC_TYPE_IC66,
PPG_EGC_TYPE_PAH8002,
+ PPG_EGC_TYPE_GH30X,
PPG_EGC_TYPE_MAX
};
}else {
hrsType = ICJniUtils.isPPGavailable();
Log.i("dxc", "heartrate available : " + hrsType);
- if (hrsType == ICJniUtils.PPG_EGC_SensorType.PPG_EGC_TYPE_IC66.ordinal()) {
+ if (hrsType == ICJniUtils.PPG_EGC_SensorType.PPG_EGC_TYPE_IC66.ordinal() || hrsType == ICJniUtils.PPG_EGC_SensorType.PPG_EGC_TYPE_GH30X.ordinal()) {
mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
mHeartRate = mSensorManager.getDefaultSensor(TYPE_HEART_RATE);
mSensorManager.unregisterListener(this);
Log.i("dxc", "Heart Rate PPG_EGC_TYPE_IC66 closed");
}else {
- if (hrsType == ICJniUtils.PPG_EGC_SensorType.PPG_EGC_TYPE_IC66.ordinal()) {
+ if (hrsType == ICJniUtils.PPG_EGC_SensorType.PPG_EGC_TYPE_IC66.ordinal() || hrsType == ICJniUtils.PPG_EGC_SensorType.PPG_EGC_TYPE_GH30X.ordinal()) {
mSensorManager.unregisterListener(this);
Log.i("dxc", "Heart Rate PPG_EGC_TYPE_IC66 closed");
} else if (hrsType > 0) {
testResultList.add("heartrate");
testResultList.add("temperature");
testResultList.add("anti");
+ } else if (FTUtils.isC49()){
+ list.add(context.getString(R.string.test_keypad));
+ list.remove(context.getString(R.string.camera));
+ list.add(context.getString(R.string.heartrate));
+ list.add(context.getString(R.string.temperature));
+ testResultList.add("keys");
+ testResultList.remove("camera");
+ testResultList.add("heartrate");
+ testResultList.add("temperature");
}
stateArr = new String[testResultList.size()];
return list;
}
return false;
}
+
+ public static boolean isC49(){
+ if(SystemProperties.get("persist.sys.id_num","").equalsIgnoreCase("MW13M")
+ || SystemProperties.get("persist.sys.id_num","").equalsIgnoreCase("MW13C")
+ ){
+ return true;
+ }
+ return false;
+ }
}
-#Fri Mar 05 22:29:50 CST 2021
-VERSION_CODE=89
+#Sat Mar 20 12:04:10 CST 2021
+VERSION_CODE=93