finds , and optionally clicks , the button with the specified id in the given infobar . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean clickCloseButton concode_elem_sep boolean hasSecondaryButton concode_elem_sep boolean clickSecondaryButton concode_elem_sep boolean hasPrimaryButton concode_elem_sep boolean clickPrimaryButton
boolean function ( InfoBar arg0 , int arg1 , boolean arg2 ) { final View loc0 = arg0 . getView ( ) . findViewById ( arg1 ) ; if ( loc0 == null ) return false ; if ( arg2 ) { ThreadUtils . runOnUiThreadBlocking ( new Runnable ( ) { @ Override public void run ( ) { loc0 . performClick ( ) ; } } ) ; } return true ; }