I understand that UncaughtExceptionHandler runs on MainThread to handle all the unhandled exceptions. Am trying to write the throwable and thread info to a file, but I have to do this on main thread only. I am concerned that doing so may throw ANR on android, since IO operations are relatively time taking and expensive operations.
What is the max time limit that main thread can wait while executing uncaught exception handler ?