summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
author[A <yorkelee@google.com>2015-12-07 23:05:13 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-12-07 23:05:13 +0000
commite5fddc5f16e6c71590fe3056c86c381410027fb1 (patch)
treede7b60468812384b96e97f3705a69dff2375d1bc /InCallUI
parentc6c7f8322e893337e0b2126ccf8534b368dc40aa (diff)
parentebd8a06582ed251a678fd0b0008f74b81d74e160 (diff)
Fix NPE when getting fragment manager
am: 9ee8211c00 * commit '9ee8211c000c39ddb0d39fb93dbe5c1195cb7974': Fix NPE when getting fragment manager
Diffstat (limited to 'InCallUI')
-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;
}