Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71532b2f authored by Andrew Lee's avatar Andrew Lee Committed by Android (Google) Code Review
Browse files

Merge "Revert "Fix NPE from ListsFragment crash."" into mnc-dev

parents 9410a604 6a866242
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -410,9 +410,8 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
        // Add the favorites fragment but only if savedInstanceState is null. Otherwise the
        // fragment manager is responsible for recreating it.
        if (savedInstanceState == null) {
            mListsFragment = new ListsFragment();
            getFragmentManager().beginTransaction()
                    .add(R.id.dialtacts_frame, mListsFragment, TAG_FAVORITES_FRAGMENT)
                    .add(R.id.dialtacts_frame, new ListsFragment(), TAG_FAVORITES_FRAGMENT)
                    .commit();
        } else {
            mSearchQuery = savedInstanceState.getString(KEY_SEARCH_QUERY);