diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-05 18:22:04 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-05 18:22:05 +0000 |
commit | 71532b2fcee195bcb1574b939173e134242a313b (patch) | |
tree | 0b7e882f8cb6f9a4643fac65d46d538d7a1bd675 /src | |
parent | 9410a60482dcbcc4fb11b6af8e80faffea4aacda (diff) | |
parent | 6a86624270b51df0adc4fc1529661a45a2bb9f03 (diff) |
Merge "Revert "Fix NPE from ListsFragment crash."" into mnc-dev
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); |