move fault timer setting to alarm settings
This commit is contained in:
@@ -235,7 +235,12 @@ public class SdServer extends Service implements SdDataReceiver {
|
||||
Log.d(TAG, "mmm...mWakeLock is null, so not releasing lock. This shouldn't happen!");
|
||||
}
|
||||
|
||||
mSdDataSource.stop();
|
||||
if (mSdDataSource!=null) {
|
||||
Log.v(TAG,"stopping mSdDataSource");
|
||||
mSdDataSource.stop();
|
||||
} else {
|
||||
Log.e(TAG,"ERROR - mSdDataSource is null - why????");
|
||||
}
|
||||
|
||||
// Stop the data update timer
|
||||
if (mCancelAudibleTimer !=null) {
|
||||
|
||||
@@ -23,6 +23,13 @@
|
||||
android:key="AudibleFaultWarning"
|
||||
android:summary="Issue an audible alarm if the system detects a fault (e.g. can not talk to Pebble)."
|
||||
android:title="Enable Audible System FaultWarnings" />
|
||||
<EditTextPreference
|
||||
android:key="FaultTimerPeriod"
|
||||
android:title="Fault Timer Duration (sec)"
|
||||
android:summary="Duration that fault alarms are muted before initiating."
|
||||
android:numeric="integer"
|
||||
android:defaultValue="30" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="SMS Alarm Settings">
|
||||
|
||||
@@ -17,12 +17,6 @@
|
||||
android:key="LogData"
|
||||
android:summary="Log Data to SD Card Regularly"
|
||||
android:title="Log Data to SD Card" />
|
||||
<EditTextPreference
|
||||
android:key="FaultTimerPeriod"
|
||||
android:title="Fault Timer Duration (sec)"
|
||||
android:summary="Duration that fault alarms are muted before initiating."
|
||||
android:numeric="integer"
|
||||
android:defaultValue="30" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="PreventSleep"
|
||||
|
||||
Reference in New Issue
Block a user