diff options
author | Stephen Bird <sbird@cyngn.com> | 2016-05-04 11:17:22 -0700 |
---|---|---|
committer | Stephen Bird <sbird@cyngn.com> | 2016-05-04 11:17:22 -0700 |
commit | 5564f99a4ba3a1d449b4e978ffd54f5179d3510b (patch) | |
tree | 0be2030aedc1258e1128496a71a437badf767867 | |
parent | b5448ef00c5bc584391e41f14edd5d8a86249e24 (diff) | |
download | android_packages_apps_PhoneCommon-5564f99a4ba3a1d449b4e978ffd54f5179d3510b.tar.gz android_packages_apps_PhoneCommon-5564f99a4ba3a1d449b4e978ffd54f5179d3510b.tar.bz2 android_packages_apps_PhoneCommon-5564f99a4ba3a1d449b4e978ffd54f5179d3510b.zip |
NPE: no credit info available
Change-Id: I327feedc7a1517e8ef8f15e8d960048389de5790
Ticket: CD-619
-rw-r--r-- | src-ambient/com/android/phone/common/incall/CallMethodInfo.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src-ambient/com/android/phone/common/incall/CallMethodInfo.java b/src-ambient/com/android/phone/common/incall/CallMethodInfo.java index 0fd90d1..fe7da27 100644 --- a/src-ambient/com/android/phone/common/incall/CallMethodInfo.java +++ b/src-ambient/com/android/phone/common/incall/CallMethodInfo.java @@ -241,7 +241,9 @@ public class CallMethodInfo implements Cloneable { public String getCreditsDescriptionText(Resources r) { CreditInfo ci = this.mProviderCreditInfo; - + if (ci == null) { + return null; + } List<SubscriptionInfo> subscriptionInfos = ci.subscriptions; if (showSubscriptions()) { |