ANR-WatchDog icon indicating copy to clipboard operation
ANR-WatchDog copied to clipboard

It seems not so good to start the anr-watchdog on application oncreate

Open zhuozp opened this issue 3 years ago • 0 comments

If using new ANRWatchDog().start() on application oncreate function. then it will begin to post a delay message(defalut 5000ms), while on application oncreate function, there may be init some tasks in UI Thread may need more than 5000 ms with some low mobile devices, thus it will cause the not real anr with anr-watchDog.

zhuozp avatar Jun 02 '21 03:06 zhuozp