From ebd8a06582ed251a678fd0b0008f74b81d74e160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=5BA=1B=5BA?= Date: Tue, 7 Jul 2015 13:10:54 -0700 Subject: Fix NPE when getting fragment manager Bug: 22324713 Change-Id: I196ff7fbc2b6e4bf06899e3c397c3f098030f952 --- InCallUI/src/com/android/incallui/InCallActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java index 3dcaa392b..d3a8c1d6f 100644 --- a/InCallUI/src/com/android/incallui/InCallActivity.java +++ b/InCallUI/src/com/android/incallui/InCallActivity.java @@ -203,7 +203,7 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD // If the dialpad fragment already exists, retrieve it. This is important when rotating as // we will not be able to hide or show the dialpad after the rotation otherwise. Fragment existingFragment = - mChildFragmentManager.findFragmentByTag(DialpadFragment.class.getName()); + getFragmentManager().findFragmentByTag(DialpadFragment.class.getName()); if (existingFragment != null) { mDialpadFragment = (DialpadFragment) existingFragment; } -- cgit v1.2.3