https://riggaroo.dev/smooth-operator-using-strictmode-to-make-your-android-app-anr-free/
Smooth Operator: Using StrictMode to make your Android App ANR free