question: @ Override public void onVisibilityChanged ( boolean visible ) { super . onVisibilityChanged ( visible ) ; if ( visible ) { registerReceiver ( ) ; calendar . setTimeZone ( TimeZone . getDefault ( ) ) ; } else { unregisterReceiver ( ) ; } updateTimer ( ) ; }
target:  Called when device does into or out of interactive mode.