You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 andpostDelayed({}, 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.The text was updated successfully, but these errors were encountered: