Buggy code:
public class Turn extends Activity { private static final String TAG = "Turn" ; static final int DIALOG_PAUSED_ID = 0 ; static final int DIALOG_GAMEOVER_ID = 1 ; static final int DIALOG_READY_ID = 2 ; static final int TIMERANIM_PAUSE_ID = 0 ; static final int TIMERANIM_RESUME_ID = 1 ; static final int TIMERANIM_START_ID = 2 ; private static final int SWIPE_MIN_DISTANCE_DP = 80 ; private static final int SWIPE_THRESHOLD_VELOCITY_DP = 150 ; private int mGestureThreshold ; private int mGestureVelocityThreshold ; private View mPauseOverlay ; private ImageButton mBuzzerButton ; private ImageButton mNextButton ; private ImageButton mSkipButton ; private TextView mCountdownText ; private TextView mTimesUpText ; private LinearLayout mPauseTextLayout ; private ViewFlipper mViewFlipper ; private ImageView mTimerfill ; private TextView mCardTitle ; private LinearLayout mCardBadWords ; private ImageView mCardStatus ; private RelativeLayout mTimerGroup ; private RelativeLayout mButtonGroup ; private boolean mTurnIsOver = false ; private boolean mIsPaused = true ; private GameManager mGameManager ; private boolean mAIsActive ; private boolean mIsBack ; private boolean mMusicEnabled ; private boolean mGesturesEnabled ; private boolean mSkipEnabled ; private boolean mIsTicking = false ; protected static final int MENU_ENDGAME = 0 ; protected static final int MENU_SCORE = 1 ; protected static final int MENU_RULES = 2 ; private SimpleOnGestureListener mSwipeListener = new SimpleOnGestureListener ( ) { @ Override public boolean onFling ( MotionEvent e1 , MotionEvent e2 , float velocityX , float velocityY ) { } } ; private GestureDetector mSwipeDetector ; private OnTouchListener mGestureListener ; private PauseTimer mCounter ; private PauseTimer mResultsDelay ; private void startTimer ( ) { } private void stopTurnTimer ( ) { } private void resumeTurnTimer ( ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } private final OnClickListener mTimerClickListener = new OnClickListener ( ) { public void onClick ( View v ) { } } ; private final OnClickListener mCorrectListener = new OnClickListener ( ) { public void onClick ( View v ) { } } ; private final OnClickListener mWrongListener = new OnClickListener ( ) { public void onClick ( View v ) { } } ; private final OnClickListener mSkipListener = new OnClickListener ( ) { public void onClick ( View v ) { } } ; private final OnClickListener mPauseListener = new OnClickListener ( ) { public void onClick ( View v ) { } } ; private Animation inFromRightAnimation ( ) { } private Animation outToLeftAnimation ( ) { } private Animation backInFromLeftAnimation ( ) { } private Animation backOutToRightAnimation ( ) { } private Animation showTimerAnim ( boolean show ) { } private Animation showButtonsAnim ( boolean show ) { } private Animation timerAnimation ( int timerCommand ) { } protected void doCorrect ( ) { } protected void doWrong ( ) { } protected void doSkip ( ) { } protected void doBack ( ) { } protected void setActiveCard ( ) { } protected void showCard ( ) { } private void setBadWords ( LinearLayout wordLayout , Card curCard , Team curTeam ) { } protected void onTimeExpired ( ) { } protected void onTurnEnd ( ) { } protected void setupViewReferences ( ) { } protected void setupUIProperties ( ) { } public PauseTimer setupTurnTimer ( ) { long time = mGameManager . getTurnTime ( ) ; return new PauseTimer ( time ) { @ Override public void onFinish ( ) { Turn . this . onTimeExpired ( ) ; mCountdownText . setText ( "0" ) ; mTurnIsOver = true ; } @ Override public void onTick ( ) { <START_BUG> if ( BuzzWordsApplication . DEBUG ) { <END_BUG> Log . d ( Turn . TAG , Long . toString ( mCounter . getTimeRemaining ( ) ) ) ; } long shownTime = ( ( mCounter . getTimeRemaining ( ) ) // 1000 ) + 1 ; mCountdownText . setText ( Long . toString ( shownTime ) ) ; if ( ( ! ( mMusicEnabled ) ) && ( ! ( mIsTicking ) ) ) { if ( shownTime == 10 ) { if ( BuzzWordsApplication . DEBUG ) { Log . d ( Turn . TAG , "Queue<seq2seq4repair_space>tick<seq2seq4repair_space>'music'<seq2seq4repair_space>" ) ; } mIsTicking = true ; BuzzWordsApplication application = ( ( BuzzWordsApplication ) ( Turn . this . getApplication ( ) ) ) ; MediaPlayer mp = application . getMusicPlayer ( ) ; mp . start ( ) ; } } } } ; } @ Override public void onCreate ( Bundle savedInstanceState ) { } @ Override public void onPause ( ) { } @ Override protected Dialog onCreateDialog ( int id ) { } private class TurnMusicListener implements OnSeekCompleteListener { public void onSeekComplete ( MediaPlayer mp ) { } } protected void resumeGame ( ) { } protected void pauseGame ( ) { } @ Override public boolean onMenuOpened ( int featureId , Menu menu ) { } @ Override public boolean onKeyDown ( int keyCode , KeyEvent event ) { } @ Override public boolean onKeyUp ( int keyCode , KeyEvent event ) { } @ Override public boolean onTouchEvent ( MotionEvent event ) { } }

Fix:
if ( BuzzWordsApplication . DEBUG_TIMERTICKS ) {