Del-S / WearFingerprint

WearFingerprint
1 stars 0 forks source link

Do not allow multiple scans #28

Closed Del-S closed 6 years ago

Del-S commented 6 years ago

Disable adding new fingerprint when there is a scan currently running.

Del-S commented 6 years ago

Can use: if(jobScheduler.getPendingJob(FingerprintScanner.JOB_ID) != null) { Toast.makeText(this, "There is a scan running at this moment.", Toast.LENGTH_SHORT).show(); return; }

Also disable add new fingerprint button just to be sure.

Del-S commented 6 years ago

Fixed in: b667e11