summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
authorQi Wang <wangqi@google.com>2016-02-24 18:46:13 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-02-24 18:46:13 +0000
commitea691f5426199ede87782006aed86cfca8a29607 (patch)
tree6832300d3b3c5dc2278363b94d164e78f6aa16b8 /InCallUI
parent9aeb2db4bac92c035052848a26416ada6c4b8f5b (diff)
parent1368a4b0d10269e4e25a2cd7f17ebb5af0a91d79 (diff)
Merge "Fix FAB position after hang up with secondary call." into nyc-dev am: f0bf4ca8ca
am: 1368a4b0d1 * commit '1368a4b0d10269e4e25a2cd7f17ebb5af0a91d79': Fix FAB position after hang up with secondary call.
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/src/com/android/incallui/CallCardFragment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java
index 84a732ccc..9ba4a2b70 100644
--- a/InCallUI/src/com/android/incallui/CallCardFragment.java
+++ b/InCallUI/src/com/android/incallui/CallCardFragment.java
@@ -649,6 +649,8 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
// height will be determined on layout.
if (isVisible) {
mSecondaryCallInfo.setVisibility(View.VISIBLE);
+ } else {
+ mSecondaryCallInfo.setVisibility(View.GONE);
}
updateFabPositionForSecondaryCallInfo();
@@ -667,6 +669,8 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
int secondaryHeight = mSecondaryCallInfo.getHeight();
if (isVisible) {
mSecondaryCallInfo.setVisibility(View.GONE);
+ } else {
+ mSecondaryCallInfo.setVisibility(View.VISIBLE);
}
Log.v(this, "setSecondaryInfoVisible: secondaryHeight = " + secondaryHeight);