summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/video/protocol
diff options
context:
space:
mode:
authorHideki Ishii <hideki.ishii@sony.com>2017-07-25 21:29:43 +0900
committerMasaya Nemoto <Masaya.Nemoto@sony.com>2019-02-28 12:35:56 +0900
commite39b926e6d14275050261f2a86eb16416d5c0d6a (patch)
treecc152a5a2f19c42f228e82de2f4370b4b641845a /java/com/android/incallui/video/protocol
parent2a96c802aa0d8d5fb66971ecb4808abfd8bf8b34 (diff)
Fix for button flickering issue when video call screen rotates
Issue: Buttons flicker when rotating video call screen and full screen mode. Because initial state of these buttons(components) are "visible". In full screen mode, these buttons should not be "visible" when video call screen is rotated. This patch modifies state of these buttons to "invisible" when video call screen rotates and isFullscreen()==True to fix the flicker issue. And, adding "enterFullscreenMode()" for getting correct view-size when changing layout by videocall-screen regenerated. Test: manual - Checked that not button flickering issue when video call screen during full screen mode rotates. Bug: 111242931 Change-Id: I271ae3fa395fa648a89c8debc5c0a76e1a0a5ecd
Diffstat (limited to 'java/com/android/incallui/video/protocol')
-rw-r--r--java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java b/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java
index 55ea23f5e..9dd545080 100644
--- a/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java
+++ b/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java
@@ -48,4 +48,6 @@ public interface VideoCallScreenDelegate {
void setSurfaceViews(SurfaceView preview, SurfaceView remote);
int getDeviceOrientation();
+
+ boolean isFullscreen();
}