Program: 26126
Project: 26126
Buggy source:
/** 
 * @return true if new items count was greater than 0
 */
private boolean syncFinishedHandler(){
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
    ShowcaseConfig config=new ShowcaseConfig();
    config.setDelay(300);
    MaterialShowcaseSequence sequence=new MaterialShowcaseSequence(this,"String_Node_Str");
    sequence.setConfig(config);
    sequence.addSequenceItem(getNewsReaderDetailFragment().pbLoading,"String_Node_Str","String_Node_Str");
    sequence.addSequenceItem(getNewsReaderDetailFragment().pbLoading,"String_Node_Str","String_Node_Str");
    sequence.start();
  }
  NewsReaderListFragment newsReaderListFragment=getSlidingListFragment();
  newsReaderListFragment.ReloadAdapter();
  UpdateItemList();
  UpdatePodcastView();
  AsyncTaskHelper.StartAsyncTask(new AsyncTaskGetUserInfo());
  SharedPreferences mPrefs=PreferenceManager.getDefaultSharedPreferences(NewsReaderListActivity.this);
  int newItemsCount=mPrefs.getInt(Constants.LAST_UPDATE_NEW_ITEMS_COUNT_STRING,0);
  if (newItemsCount > 0) {
    int firstVisiblePosition=getNewsReaderDetailFragment().getFirstVisibleScrollPosition();
    if (firstVisiblePosition == 0) {
      updateCurrentRssView();
    }
 else {
      Snackbar snackbar=Snackbar.make(findViewById(R.id.coordinator_layout),getResources().getQuantityString(R.plurals.message_bar_new_articles_available,newItemsCount,newItemsCount),Snackbar.LENGTH_LONG);
      snackbar.setAction(getString(R.string.message_bar_reload),mSnackbarListener);
      snackbar.setActionTextColor(getResources().getColor(R.color.accent_material_dark));
      TextView textView=(TextView)snackbar.getView().findViewById(android.support.design.R.id.snackbar_text);
      textView.setTextColor(Color.WHITE);
      snackbar.show();
    }
    return true;
  }
  return false;
}

Fixed version (ground truth):
/** 
 * @return true if new items count was greater than 0
 */
private boolean syncFinishedHandler(){
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
    ShowcaseConfig config=new ShowcaseConfig();
    config.setDelay(300);
    MaterialShowcaseSequence sequence=new MaterialShowcaseSequence(this,"String_Node_Str");
    sequence.setConfig(config);
    sequence.addSequenceItem(getNewsReaderDetailFragment().pbLoading,"String_Node_Str","String_Node_Str");
    sequence.addSequenceItem(getNewsReaderDetailFragment().pbLoading,"String_Node_Str","String_Node_Str");
    sequence.start();
  }
  NewsReaderListFragment newsReaderListFragment=getSlidingListFragment();
  newsReaderListFragment.ReloadAdapter();
  UpdateItemList();
  UpdatePodcastView();
  AsyncTaskHelper.StartAsyncTask(new AsyncTaskGetUserInfo());
  SharedPreferences mPrefs=PreferenceManager.getDefaultSharedPreferences(NewsReaderListActivity.this);
  int newItemsCount=mPrefs.getInt(Constants.LAST_UPDATE_NEW_ITEMS_COUNT_STRING,0);
  if (newItemsCount > 0) {
    int firstVisiblePosition=getNewsReaderDetailFragment().getFirstVisibleScrollPosition();
    if (firstVisiblePosition == 0) {
      updateCurrentRssView();
    }
 else {
      Snackbar snackbar=Snackbar.make(findViewById(R.id.coordinator_layout),getResources().getQuantityString(R.plurals.message_bar_new_articles_available,newItemsCount,newItemsCount),Snackbar.LENGTH_LONG);
      snackbar.setAction(getString(R.string.message_bar_reload),mSnackbarListener);
      snackbar.setActionTextColor(ContextCompat.getColor(this,R.color.accent_material_dark));
      TextView textView=(TextView)snackbar.getView().findViewById(android.support.design.R.id.snackbar_text);
      textView.setTextColor(Color.WHITE);
      snackbar.show();
    }
    return true;
  }
  return false;
}