public ANRWatchDog setInterruptionListener ( InterruptionListener listener ) { if ( listener == null ) { _interruptionListener = DEFAULT_INTERRUPTION_LISTENER ; } else { _interruptionListener = listener ; } return this ; }
Sets an interface for when the watchdog thread is interrupted . If not set the default behavior is to just log the interruption message .