diff options
author | Stephen Bird <sbird@cyngn.com> | 2016-05-04 11:17:22 -0700 |
---|---|---|
committer | Stephen Bird <sbird@cyngn.com> | 2016-05-04 12:52:17 -0700 |
commit | a4564a7a14caf8d6c0912947737c688a68f7c421 (patch) | |
tree | b96e39bca46cf909cf80a5f7562f3fb181ae94f8 | |
parent | 04fe99e75d425636c5081592e3287e1fe265e650 (diff) | |
download | packages_apps_PhoneCommon-a4564a7a14caf8d6c0912947737c688a68f7c421.tar.gz packages_apps_PhoneCommon-a4564a7a14caf8d6c0912947737c688a68f7c421.tar.bz2 packages_apps_PhoneCommon-a4564a7a14caf8d6c0912947737c688a68f7c421.zip |
NPE: no credit info available
Change-Id: I327feedc7a1517e8ef8f15e8d960048389de5790
Ticket: CD-619
(cherry picked from commit 5564f99a4ba3a1d449b4e978ffd54f5179d3510b)
-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()) { |