Program: 26189
Project: 26189
Buggy source:
@TargetApi(Build.VERSION_CODES.HONEYCOMB) @Override protected void onCreate(Bundle savedInstanceState){
  ThemeChooser.chooseTheme(this);
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_newsreader);
  AccountManager mAccountManager=AccountManager.get(this);
  boolean isAccountThere=false;
  Account[] accounts=mAccountManager.getAccounts();
  for (  Account account : accounts) {
    if (account.type.intern().equals(AccountGeneral.ACCOUNT_TYPE)) {
      isAccountThere=true;
    }
  }
  if (!isAccountThere) {
    Account account=new Account(getString(R.string.app_name),AccountGeneral.ACCOUNT_TYPE);
    mAccountManager.addAccountExplicitly(account,"String_Node_Str",new Bundle());
  }
  SharedPreferences mPrefs=PreferenceManager.getDefaultSharedPreferences(this);
  if (mPrefs.getString(SettingsActivity.EDT_OWNCLOUDROOTPATH_STRING,null) == null)   StartLoginFragment(NewsReaderListActivity.this);
  FragmentManager fragmentManager=getSupportFragmentManager();
  fragmentManager.beginTransaction().replace(R.id.left_drawer,new NewsReaderListFragment()).commit();
  mSlidingLayout=(SlidingPaneLayout)findViewById(R.id.sliding_pane);
  mSlidingLayout.setParallaxDistance(280);
  mSlidingLayout.setSliderFadeColor(getResources().getColor(android.R.color.transparent));
  mSlidingLayout.setPanelSlideListener(new PanelSlideListener(){
    @Override public void onPanelSlide(    View arg0,    float arg1){
    }
    @Override public void onPanelOpened(    View arg0){
      togglePodcastVideoViewAnimation();
      updateAdapter();
      getSupportActionBar().setDisplayHomeAsUpEnabled(false);
      getSupportActionBar().setHomeButtonEnabled(false);
      getMenuItemUpdater().setVisible(false);
    }
    @Override public void onPanelClosed(    View arg0){
      togglePodcastVideoViewAnimation();
      getSupportActionBar().setDisplayHomeAsUpEnabled(true);
      getSupportActionBar().setHomeButtonEnabled(true);
      getMenuItemUpdater().setVisible(true);
      StartDetailFragmentNow();
    }
  }
);
  mSlidingLayout.openPane();
  if (savedInstanceState == null) {
    startDetailFHolder=new StartDetailFragmentHolder(SubscriptionExpandableListAdapter.SPECIAL_FOLDERS.ALL_UNREAD_ITEMS.getValueString(),true,null,true);
    StartDetailFragmentNow();
  }
  ImageHandler.createNoMediaFile(this);
}

Fixed version (ground truth):
@TargetApi(Build.VERSION_CODES.HONEYCOMB) @Override protected void onCreate(Bundle savedInstanceState){
  ThemeChooser.chooseTheme(this);
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_newsreader);
  AccountManager mAccountManager=AccountManager.get(this);
  boolean isAccountThere=false;
  Account[] accounts=mAccountManager.getAccounts();
  for (  Account account : accounts) {
    if (account.type.intern().equals(AccountGeneral.ACCOUNT_TYPE)) {
      isAccountThere=true;
    }
  }
  if (!isAccountThere) {
    Account account=new Account(getString(R.string.app_name),AccountGeneral.ACCOUNT_TYPE);
    mAccountManager.addAccountExplicitly(account,"String_Node_Str",new Bundle());
    SyncIntervalSelectorActivity.SetAccountSyncInterval(this);
  }
  SharedPreferences mPrefs=PreferenceManager.getDefaultSharedPreferences(this);
  if (mPrefs.getString(SettingsActivity.EDT_OWNCLOUDROOTPATH_STRING,null) == null)   StartLoginFragment(NewsReaderListActivity.this);
  FragmentManager fragmentManager=getSupportFragmentManager();
  fragmentManager.beginTransaction().replace(R.id.left_drawer,new NewsReaderListFragment()).commit();
  mSlidingLayout=(SlidingPaneLayout)findViewById(R.id.sliding_pane);
  mSlidingLayout.setParallaxDistance(280);
  mSlidingLayout.setSliderFadeColor(getResources().getColor(android.R.color.transparent));
  mSlidingLayout.setPanelSlideListener(new PanelSlideListener(){
    @Override public void onPanelSlide(    View arg0,    float arg1){
    }
    @Override public void onPanelOpened(    View arg0){
      togglePodcastVideoViewAnimation();
      updateAdapter();
      getSupportActionBar().setDisplayHomeAsUpEnabled(false);
      getSupportActionBar().setHomeButtonEnabled(false);
      getMenuItemUpdater().setVisible(false);
    }
    @Override public void onPanelClosed(    View arg0){
      togglePodcastVideoViewAnimation();
      getSupportActionBar().setDisplayHomeAsUpEnabled(true);
      getSupportActionBar().setHomeButtonEnabled(true);
      getMenuItemUpdater().setVisible(true);
      StartDetailFragmentNow();
    }
  }
);
  mSlidingLayout.openPane();
  if (savedInstanceState == null) {
    startDetailFHolder=new StartDetailFragmentHolder(SubscriptionExpandableListAdapter.SPECIAL_FOLDERS.ALL_UNREAD_ITEMS.getValueString(),true,null,true);
    StartDetailFragmentNow();
  }
  ImageHandler.createNoMediaFile(this);
}