public boolean suspendAndSave ( Bundle bundle , String name ) { if ( bundle == null ) throw new IllegalArgumentException ( "bunlde cannot be null" ) ; if ( name == null ) throw new IllegalArgumentException ( "name cannot be null" ) ; if ( suspend ( ) ) { bundle . putParcelable ( name , this ) ; return true ; } else { return false ; } }
Suspends a request and immediately save it in a bundle