From a42005350c1dd0aa956fe5f911f59e704b58c1c7 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 17 Mar 2015 14:28:21 -0700 Subject: DO NOT MERGE Don't hide caller photo for video call Bug: 19728020 Change-Id: I6e5259c63553de9e5060621bcc749d1039b67ea1 --- InCallUI/src/com/android/incallui/CallCardFragment.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'InCallUI/src/com/android/incallui/CallCardFragment.java') diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index 814876105..cc7efe7f9 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -787,16 +787,6 @@ public class CallCardFragment extends BaseFragment Date: Fri, 20 Mar 2015 13:57:17 -0700 Subject: Don't show SSID for Wi-Fi calls. - Delete wifi icon and method to get SSID. + Use labels provided by StatusHints instead. I'm not very happy with the additional "isWifi" cases I ended up adding in call card fragment. I felt this was necessary because of assumptions in some cases that if a label is provided, it should be formatted as a phone account source. While this was true before, it's becoming less so. I feel like the fragment shouldn't have to worry about formatting or choosing the label based on the call and conditions. It should just display the label if it thinks it is appropriate to show a label given the call state. To fix that, it seems like logic should be moved to the presenter instead, and possibly to Telephony. But, I'm hesitant to do that until these WFC changes back merge to master because of potential merge conflicts and its slightly more risky for this branch, because it starts dealing with logic/flows outside of WFC.. Bug: 19866988 Change-Id: Iacd5a09259c84ea7be28b0170ae603eb9561f7ca --- .../src/com/android/incallui/CallCardFragment.java | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'InCallUI/src/com/android/incallui/CallCardFragment.java') diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index 814876105..28f449b93 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -488,10 +488,11 @@ public class CallCardFragment extends BaseFragment