reduced alarm threshold from 100 to 70 to increase sensitivity if the user is lying on the watch so less movement than if it is free to move.
This commit is contained in:
@@ -24,7 +24,6 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile files('libs/mpandroidchartlibrary-2-0-7.jar')
|
compile files('libs/mpandroidchartlibrary-2-0-7.jar')
|
||||||
//compile files('libs/pebblekit-2.6.0-eclipse.jar')
|
|
||||||
compile 'com.getpebble:pebblekit:3.0.0@aar'
|
compile 'com.getpebble:pebblekit:3.0.0@aar'
|
||||||
|
|
||||||
// Unit testing dependencies
|
// Unit testing dependencies
|
||||||
|
|||||||
Binary file not shown.
@@ -230,7 +230,7 @@ public class SdDataSourcePebble extends SdDataSource {
|
|||||||
Log.v(TAG, "updatePrefs() AlarmTime = " + intVal);
|
Log.v(TAG, "updatePrefs() AlarmTime = " + intVal);
|
||||||
setDict.addUint16(KEY_ALARM_TIME, (short) intVal);
|
setDict.addUint16(KEY_ALARM_TIME, (short) intVal);
|
||||||
|
|
||||||
prefStr = SP.getString("AlarmThresh", "100");
|
prefStr = SP.getString("AlarmThresh", "70");
|
||||||
intVal = (short) Integer.parseInt(prefStr);
|
intVal = (short) Integer.parseInt(prefStr);
|
||||||
Log.v(TAG, "updatePrefs() AlarmThresh = " + intVal);
|
Log.v(TAG, "updatePrefs() AlarmThresh = " + intVal);
|
||||||
setDict.addUint16(KEY_ALARM_THRESH, (short) intVal);
|
setDict.addUint16(KEY_ALARM_THRESH, (short) intVal);
|
||||||
|
|||||||
Reference in New Issue
Block a user