question: private synchronized void _stop ( ) { while ( m_activities . size ( ) > 0 ) { Activity a = ( Activity ) m_activities . get ( m_activities . size ( ) - 1 ) ; a . cancel ( ) ; } _setRunning ( false ) ; notify ( ) ; }
target:  Stops the activity manager thread. All scheduled actvities are canceled, and then the thread is then notified to stop running.