diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-05 19:24:59 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-05-05 19:24:59 +0000 |
commit | 6cdc030068c301b3f74d0d1b1f137497ac6204e2 (patch) | |
tree | 565cc62de7649d7b779f62802e59a8be982af490 /src | |
parent | 0a12ee93ca4040d9639caa65bec9ce3022982b80 (diff) | |
parent | 71532b2fcee195bcb1574b939173e134242a313b (diff) |
am 71532b2f: Merge "Revert "Fix NPE from ListsFragment crash."" into mnc-dev
* commit '71532b2fcee195bcb1574b939173e134242a313b':
Revert "Fix NPE from ListsFragment crash."
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 1e0b7e0f2..b97dc437d 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -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); |