fix vibration during pause

This commit is contained in:
Neale Pickett 2012-05-26 16:48:47 -06:00
parent 37e49d83d4
commit fdc7211262
3 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.woozle.penaltytimer"
android:versionCode="1"
android:versionCode="2"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
<uses-permission android:name="android.permission.VIBRATE"/>

View File

@ -2,8 +2,7 @@ install: debug-install
debug-install: bin/PenaltyTimer-debug.apk
adb install -r $<
release-install: bin/PenaltyTimer-release.apk
adb install -r $<
release: bin/PenaltyTimer-release.apk
clean:
ant clean

View File

@ -118,7 +118,7 @@ public class TimerButton
if (r <= 0) {
cf = releaseColor;
} else if (r < 10000) {
if (! shook) {
if (running && ! shook) {
vibr.vibrate(200);
shook = true;
}