private void METHOD_1 ( ) { if ( ( getActivity ( ) . METHOD_2 ( ) . equals ( STRING_1 ) ) || ( getActivity ( ) . METHOD_2 ( ) . equals ( STRING_2 ) ) ) VAR_1 = true ; } 

private void METHOD_1 ( ) { if ( ( getActivity ( ) . METHOD_2 ( ) . contains ( STRING_1 ) ) || ( getActivity ( ) . METHOD_2 ( ) . contains ( STRING_2 ) ) ) VAR_1 = true ; } 
