Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

BackgroundExecutor delay can lock up thread if user changes system clock #1965

@ddello32

Description

@ddello32

Since BackgroundExecutor uses SystemClock.currentTimeMillis() as base for delay calculation, a change in System Clock (as for example when the Daylight Saving Time starts or ends) can trigger or delay a thread execution, this can lock up the serial execution queue an cause major problems.
A possible solution to this problem would be to use SystemClock.elapsedRealtime() .

AndroidAnnotations version:
4.2.0
Android compile SDK version:
25

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions