From ffeb17e31c6e3ab38deabf0798ccbff816a0787a Mon Sep 17 00:00:00 2001 From: wjt983049539 Date: Wed, 30 Jun 2021 14:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=84=E5=88=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/github/tbouron/shakedetector/library/ShakeDetector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/github/tbouron/shakedetector/library/ShakeDetector.java b/library/src/main/java/com/github/tbouron/shakedetector/library/ShakeDetector.java index a8aaa60..4eecdc3 100644 --- a/library/src/main/java/com/github/tbouron/shakedetector/library/ShakeDetector.java +++ b/library/src/main/java/com/github/tbouron/shakedetector/library/ShakeDetector.java @@ -47,7 +47,7 @@ public class ShakeDetector implements ICategoryOrientationDataCallback { private ArrayList mSensorBundles; private Object mLock; private int direction = 1; - long interval = 500l; + long interval = 500L; /** * 上一次检测的时间 */ -- Gitee