if (mShakeDetectionIsActive && !mShakeDetected) { | if (mShakeDetectionIsActive && !mShakeDetected) { | ||||
if(Math.abs(mAccel) > mUpperThreshold) { | if(Math.abs(mAccel) > mUpperThreshold) { | ||||
new CountDownTimer(750, 10) { | |||||
new CountDownTimer(500, 10) { | |||||
public void onTick(long millisUntilFinished) { | public void onTick(long millisUntilFinished) { | ||||
mShakeDetectionIsActive = false; | mShakeDetectionIsActive = false; |