summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Bird <sbird@cyngn.com>2016-03-31 15:03:11 -0700
committerRichard MacGregor <rmacgregor@cyngn.com>2016-04-08 10:42:51 -0700
commit5bbda91320c9a00b201dcfd1e82c68aa796bfefc (patch)
tree5ee53f9cd4139f1896e0e1cb1199fc33f5a7b7aa
parentb36eab16daecb79a083c0f8d821660766a2494ab (diff)
downloadandroid_packages_apps_PhoneCommon-5bbda91320c9a00b201dcfd1e82c68aa796bfefc.tar.gz
android_packages_apps_PhoneCommon-5bbda91320c9a00b201dcfd1e82c68aa796bfefc.tar.bz2
android_packages_apps_PhoneCommon-5bbda91320c9a00b201dcfd1e82c68aa796bfefc.zip
Use subscription check
Change-Id: If2749289b20c87fa396364eca3c3b264e9d39f70
-rw-r--r--src-ambient/incall/CallMethodInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-ambient/incall/CallMethodInfo.java b/src-ambient/incall/CallMethodInfo.java
index 7d52426..a727c3e 100644
--- a/src-ambient/incall/CallMethodInfo.java
+++ b/src-ambient/incall/CallMethodInfo.java
@@ -248,7 +248,7 @@ public class CallMethodInfo {
List<SubscriptionInfo> subscriptionInfos = ci.subscriptions;
- if (subscriptionInfos != null && !subscriptionInfos.isEmpty()) {
+ if (showSubscriptions()) {
int size = subscriptionInfos.size();
return r.getQuantityString(R.plurals.number_of_incall_subscriptions, size, size);
} else {