diff options
author | Qi Wang <wangqi@google.com> | 2016-02-23 18:40:11 -0800 |
---|---|---|
committer | Qi Wang <wangqi@google.com> | 2016-02-23 18:40:11 -0800 |
commit | 447fb6ec30d8823ce5fbd1080a1fe6e78a91f183 (patch) | |
tree | 015eb621209ca4ead619840db9f2a3063e0d076e /InCallUI/src/com/android/incallui | |
parent | 82557da65e5b16ac9d95e2bb5b73c2e5c1e88a89 (diff) |
Fix FAB position after hang up with secondary call.
Bug: 27294280
Change-Id: Ia5d6580ef77078b3d489efc0b73c2bbd2b4d2b77
Diffstat (limited to 'InCallUI/src/com/android/incallui')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardFragment.java | 4 |
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); |