question: public final synchronized void closeAll ( ) { if ( onCloseAll ( ) ) { Log . w ( TAG , "Windows close all cancelled by implementation." ) ; return ; } LinkedList < Integer > ids = new LinkedList < Integer > ( ) ; for ( int id : getExistingIds ( ) ) { ids . add ( id ) ; } for ( int id : ids ) { close ( id ) ; } }
target:  Close all existing windows.