Threshold angepasst
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user