Skip to content

Commit

Permalink
优化了动态获取数据的间隔
Browse files Browse the repository at this point in the history
  • Loading branch information
devilsen committed Jul 24, 2019
1 parent 1c24c29 commit 6b14885
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ abstract class BarCoderView extends FrameLayout implements Camera.PreviewCallbac

protected boolean mSpotAble;
private int scanSequence;
private long processLastTime;
private long mLastAutoZoomTime;

protected ScanListener mScanListener;
private ValueAnimator mAutoZoomAnimator;

private long processLastTime;
private long mLastAutoZoomTime;
private long mDelayTime = 3 * ONE_HUNDRED_MILLISECONDS;

public BarCoderView(Context context) {
Expand Down

0 comments on commit 6b14885

Please sign in to comment.