Browse Source

Threshold angepasst

master
Patrick Halboth 2 years ago
parent
commit
59d17304ad
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/src/main/java/de/edotzlaff/detection/MainActivity.java

+ 1
- 1
app/src/main/java/de/edotzlaff/detection/MainActivity.java View File

@@ -125,7 +125,7 @@ public class MainActivity extends AppCompatActivity {
if (mShakeDetectionIsActive && !mShakeDetected) {
if(Math.abs(mAccel) > mUpperThreshold) {

new CountDownTimer(750, 10) {
new CountDownTimer(500, 10) {

public void onTick(long millisUntilFinished) {
mShakeDetectionIsActive = false;

Loading…
Cancel
Save