<option name="priority" value="Medium" />
<option name="excludeFilter" value="" />
</component>
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="JDK" project-jdk-type="JavaSDK">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":60,"versionName":"202101061528","enabled":true,"outputFile":"ICL02Blood_V60_202101061528_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V60_202101061528_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":63,"versionName":"202101151445","enabled":true,"outputFile":"ICL02Blood_V63_202101151445_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V63_202101151445_release.apk","properties":{}}]
\ No newline at end of file
//取消接口注册
void unRegisterCallback(in IHeartRateSensorCallback callback);
//获取心率相关数据0表示Alarm,1表示客户端用户发出的,3表示服务端发出的单次获取指令
- oneway void getHeartRateInfo(int from,in String callbackTag);
+ void getHeartRateInfo(int from,in String callbackTag);
}
\ No newline at end of file
if (mService != null) {
mObsStateTips.postValue(mContext.getString(R.string.tips_ing_check));
//处理UI变化
- try {
- /**
- * SERVER_CMD(0)服务端单次测量指令,
- * ALARM_CMD(1)定时的测试指,
- * CLIENT_CMD(2)用户UI主动的指令;
- */
- mService.getHeartRateInfo(2, BloodPresenter.class.getName());
- } catch (Exception e) {
- IcLog.e(TAG, "startCheckBlood", e);
- }
+ new Thread(() -> {
+ try {
+ /**
+ * SERVER_CMD(0)服务端单次测量指令,
+ * ALARM_CMD(1)定时的测试指,
+ * CLIENT_CMD(2)用户UI主动的指令;
+ */
+ mService.getHeartRateInfo(2, BloodPresenter.class.getName());
+ } catch (
+ Exception e) {
+ IcLog.e(TAG, "startCheckBlood", e);
+ }
+ }).start();
}
}
+ " oxygen == > " + heartRate.getOxygen());
mObsStateTips.postValue(mContext.getString(R.string.tips_finish_check));
//最终结果
- updateBoolValue(heartRate.getHeartRate(), heartRate.getBloodLow(),
+ updateBoolValue(heartRate.getBloodHeight(), heartRate.getBloodLow(),
heartRate.getHeartRate(), heartRate.getOxygen());
}
-#Wed Jan 06 15:28:27 CST 2021
-VERSION_CODE=60
+#Fri Jan 15 14:45:50 CST 2021
+VERSION_CODE=63
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip