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

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

Activity

  1. dodgex commented on Mar 7, 2017

    @dodgex
    Member

    Looks like this is a valid request. @WonderCsabo what do you think?

  2. self-assigned this
    on Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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