parent
3d5dd65e30
commit
b2839eb0a1
1 changed files with 4 additions and 1 deletions
|
@ -495,7 +495,10 @@ class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound {
|
|||
}
|
||||
|
||||
private fun setTimer() {
|
||||
delayTask?.skip = true
|
||||
// if the previous task is still running, do not ask it to clear the password
|
||||
if (delayTask?.status == AsyncTask.Status.RUNNING) {
|
||||
delayTask?.skip = true
|
||||
}
|
||||
|
||||
// launch a new one
|
||||
delayTask = DelayShow(this)
|
||||
|
|
Loading…
Reference in a new issue