Adjusting text of heart rate alarm settings

This commit is contained in:
Graham Jones
2023-03-02 20:52:56 +00:00
parent a23e67b760
commit 033c41a675
3 changed files with 29 additions and 12 deletions

View File

@@ -92,6 +92,7 @@ public abstract class SdDataSource {
private short mFallWindow;
private int mMute; // !=0 means muted by keypress on watch.
private SdAlgNn mSdAlgNn;
private SdAlgHr mSdAlgHr;
// Values for SD_MODE
private int SIMPLE_SPEC_FMAX = 10;
@@ -133,12 +134,16 @@ public abstract class SdDataSource {
mUtil.writeToSysLogFile("SdDataSource.start()");
updatePrefs();
mSdAlgHr = new SdAlgHr(mContext);
if (mSdData.mCnnAlarmActive) {
mSdAlgNn = new SdAlgNn(mContext);
} else {
mSdData.mPseizure = 0;
}
// Start timer to check status of watch regularly.
mDataStatusTime = new Time(Time.getCurrentTimezone());
// use a timer to check the status of the pebble app on the same frequency