Program: 14122
Project: 14122
Buggy source:
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.people_management_activity);
  Toolbar toolbar=(Toolbar)findViewById(R.id.toolbar);
  setSupportActionBar(toolbar);
  ActionBar actionBar=getSupportActionBar();
  if (actionBar != null) {
    actionBar.setTitle(R.string.people);
    actionBar.setHomeButtonEnabled(true);
    actionBar.setDisplayHomeAsUpEnabled(true);
  }
  Blog blog=WordPress.getCurrentBlog();
  if (blog == null) {
    ToastUtils.showToast(this,R.string.blog_not_found);
    finish();
    return;
  }
  FragmentManager fragmentManager=getFragmentManager();
  if (savedInstanceState == null) {
    if (NetworkUtils.isNetworkAvailable(this)) {
      PeopleTable.deletePeopleForLocalBlogIdExceptForFirstPage(blog.getLocalTableBlogId());
    }
    PeopleListFragment peopleListFragment=PeopleListFragment.newInstance(blog.getLocalTableBlogId());
    peopleListFragment.setOnPersonSelectedListener(this);
    peopleListFragment.setOnFetchPeopleListener(this);
    mPeopleEndOfListReached=false;
    mFetchRequestInProgress=false;
    fragmentManager.beginTransaction().add(R.id.fragment_container,peopleListFragment,KEY_PEOPLE_LIST_FRAGMENT).commit();
  }
 else {
    mPeopleEndOfListReached=savedInstanceState.getBoolean(KEY_END_OF_LIST_REACHED);
    mFetchRequestInProgress=savedInstanceState.getBoolean(KEY_FETCH_REQUEST_IN_PROGRESS);
    PeopleListFragment peopleListFragment=getListFragment();
    if (peopleListFragment != null) {
      peopleListFragment.setOnPersonSelectedListener(this);
      peopleListFragment.setOnFetchPeopleListener(this);
    }
  }
}

Fixed version (ground truth):
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.people_management_activity);
  Toolbar toolbar=(Toolbar)findViewById(R.id.toolbar);
  setSupportActionBar(toolbar);
  ActionBar actionBar=getSupportActionBar();
  if (actionBar != null) {
    actionBar.setTitle(R.string.people);
    actionBar.setHomeButtonEnabled(true);
    actionBar.setDisplayHomeAsUpEnabled(true);
  }
  Blog blog=WordPress.getCurrentBlog();
  if (blog == null) {
    ToastUtils.showToast(this,R.string.blog_not_found);
    finish();
    return;
  }
  FragmentManager fragmentManager=getFragmentManager();
  if (savedInstanceState == null) {
    if (NetworkUtils.isNetworkAvailable(this)) {
      PeopleTable.deletePeopleForLocalBlogIdExceptForFirstPage(blog.getLocalTableBlogId());
    }
    PeopleListFragment peopleListFragment=PeopleListFragment.newInstance(blog.getLocalTableBlogId());
    peopleListFragment.setOnPersonSelectedListener(this);
    peopleListFragment.setOnFetchPeopleListener(this);
    mPeopleEndOfListReached=false;
    mFetchRequestInProgress=false;
    fragmentManager.beginTransaction().add(R.id.fragment_container,peopleListFragment,KEY_PEOPLE_LIST_FRAGMENT).commit();
  }
 else {
    mPeopleEndOfListReached=savedInstanceState.getBoolean(KEY_END_OF_LIST_REACHED);
    mFetchRequestInProgress=savedInstanceState.getBoolean(KEY_FETCH_REQUEST_IN_PROGRESS);
    PeopleListFragment peopleListFragment=getListFragment();
    if (peopleListFragment != null) {
      peopleListFragment.setOnPersonSelectedListener(this);
      peopleListFragment.setOnFetchPeopleListener(this);
    }
    PersonDetailFragment personDetailFragment=getDetailFragment();
    if (personDetailFragment != null && personDetailFragment.isAdded()) {
      removeToolbarElevation();
    }
  }
}