661662663664665666667668669670671
Integer i_height = (Integer)status.get( "new_height" ); int height = i_height==null?0:i_height; adapter.updateProgress( percent, eta, width, height ); if ( percent == 100 ){ adapter.complete();