reset vibration on manual time change
This commit is contained in:
parent
a98a9cd806
commit
f1b8ebeaa1
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.woozle.penaltytimer"
|
package="org.woozle.penaltytimer"
|
||||||
android:versionCode="4"
|
android:versionCode="5"
|
||||||
android:versionName="1.1">
|
android:versionName="1.2">
|
||||||
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
|
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
|
||||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||||
<application android:label="@string/app_name" android:description="@string/description" android:icon="@drawable/ic_launcher">
|
<application android:label="@string/app_name" android:description="@string/description" android:icon="@drawable/ic_launcher">
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@ clean:
|
||||||
ant clean
|
ant clean
|
||||||
|
|
||||||
bin/PenaltyTimer-release.apk: bin/PenaltyTimer-release-unaligned.apk
|
bin/PenaltyTimer-release.apk: bin/PenaltyTimer-release-unaligned.apk
|
||||||
$(ZIPALIGN) -v 4 $< $@
|
$(ZIPALIGN) -f 4 $< $@
|
||||||
|
|
||||||
bin/PenaltyTimer-release-unaligned.apk: bin/PenaltyTimer-release-unsigned.apk
|
bin/PenaltyTimer-release-unaligned.apk: bin/PenaltyTimer-release-unsigned.apk
|
||||||
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore $(KEYSTORE) -signedjar $@ $< $(ALIAS)
|
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore $(KEYSTORE) -signedjar $@ $< $(ALIAS)
|
||||||
|
|
|
@ -79,6 +79,7 @@ public class TimerButton
|
||||||
}
|
}
|
||||||
|
|
||||||
public void set(long t) {
|
public void set(long t) {
|
||||||
|
shook = false;
|
||||||
startTime = now;
|
startTime = now;
|
||||||
duration = t;
|
duration = t;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue