From f4a35eb3f373820a55e20642e1e635b2f26fefdc Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Thu, 7 May 2015 13:48:10 -0700 Subject: Fix issues with fullscreen video call mode and incoming calls. In onStateChange, when there is an incoming call, the primary call is kept as the active call. This is problematic for the logic in the maybeAutoEnterFullscreen method which relied on the primary call to determine if the UX should automatically switch to fullscreen mode. Added code to ensure we auto-exit fullscreen mode based on the current call context. Bug: 20915113 Change-Id: If11c358c83c92a308d6f78f229354f7feb5bfea4 --- .../com/android/incallui/VideoCallPresenter.java | 68 +++++++++++++++++----- 1 file changed, 55 insertions(+), 13 deletions(-) (limited to 'InCallUI') diff --git a/InCallUI/src/com/android/incallui/VideoCallPresenter.java b/InCallUI/src/com/android/incallui/VideoCallPresenter.java index 3ae7cfd05..ba82c01fc 100644 --- a/InCallUI/src/com/android/incallui/VideoCallPresenter.java +++ b/InCallUI/src/com/android/incallui/VideoCallPresenter.java @@ -371,7 +371,7 @@ public class VideoCallPresenter extends Presenter