Skip to content

AndroidLeakFixes.FLUSH_HANDLER_THREADS cause IdleHandler runs every second #2691

Open

Description

Description

I implemented a IdleHandler to do someting for my HandlerThread, but I see the IdleHandler runs every second. According to the code in AndroidLeakFixes.FLUSH_HANDLER_THREADS, it adds an IdleHandler and postDelayed({}, 1000), so that cause my IdleHandler to be executed per second, is it a potential bug? If it is an intended behavior, how to stop it from affecting my logic ? I don't want to execute my IdleHandler every second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions