summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[A <yorkelee@google.com>2015-07-07 13:10:54 -0700
committerTyler Gunn <tgunn@google.com>2015-12-06 22:04:57 -0800
commitebd8a06582ed251a678fd0b0008f74b81d74e160 (patch)
tree31e1502da3e14a444befd1d845d18bf2ca2a24fd
parent50d70a614f2f617ed60d24f8d1756b1bcb20bb80 (diff)
Fix NPE when getting fragment manager
Bug: 22324713 Change-Id: I196ff7fbc2b6e4bf06899e3c397c3f098030f952
-rw-r--r--InCallUI/src/com/android/incallui/InCallActivity.java2
1 files changed, 1 insertions, 1 deletions
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;
}