Threshold angepasst
This commit is contained in:
parent
906df05c6c
commit
59d17304ad
@ -125,7 +125,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user