From a860052619d1c3d13a33629e97a8e05509fa0e1b Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Thu, 14 May 2015 13:20:24 -0700 Subject: Fix issue where secondary call info overlaps video preview. Other issues: - Secondary caller info should not be shown when in fullscreen mode. Solution: - Added onSecondaryCallerInfoVisibilityChanged to InCallEventListener ( which is documented as a place for events between fragments). - In CallCard fragment, call notify listeners of this callback of the state change. - In VideoCallPresenter/Fragment, handle changes to the visibility of the secondary caller info box to shift the preview surface up or down. - Added hide/show animation for the secondary caller info when entering and exiting fullscreen mode. Bug: 20914754 Change-Id: I44ae0e94e214892776487bff4cc09be8c5640db1 --- .../src/com/android/incallui/CallCardFragment.java | 108 +++++++++++++++++++-- 1 file changed, 98 insertions(+), 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 3efdb7570..e7d4f4836 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -183,6 +183,11 @@ public class CallCardFragment extends BaseFragment