reset vibration on manual time change

This commit is contained in:
Neale Pickett 2012-05-26 22:40:06 -06:00
parent a98a9cd806
commit f1b8ebeaa1
3 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.woozle.penaltytimer"
android:versionCode="4"
android:versionName="1.1">
android:versionCode="5"
android:versionName="1.2">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
<uses-permission android:name="android.permission.VIBRATE"/>
<application android:label="@string/app_name" android:description="@string/description" android:icon="@drawable/ic_launcher">

View File

@ -19,7 +19,7 @@ clean:
ant clean
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
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore $(KEYSTORE) -signedjar $@ $< $(ALIAS)

View File

@ -79,6 +79,7 @@ public class TimerButton
}
public void set(long t) {
shook = false;
startTime = now;
duration = t;
}