From 8fbecce1ed1cfab8061acb7b8d22fd0feeaba452 Mon Sep 17 00:00:00 2001 From: linyuh Date: Mon, 18 Dec 2017 13:53:09 -0800 Subject: Allow orientation change when receiving video upgrade request in the in-call UI. Bug: 67764843 Test: Manual PiperOrigin-RevId: 179463451 Change-Id: Iee1999c673a0b6f67d8e538745c23e75865a5262 --- java/com/android/incallui/InCallActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/com/android/incallui/InCallActivity.java b/java/com/android/incallui/InCallActivity.java index c4c365afa..f09f0d944 100644 --- a/java/com/android/incallui/InCallActivity.java +++ b/java/com/android/incallui/InCallActivity.java @@ -1295,7 +1295,7 @@ public class InCallActivity extends TransactionSafeFragmentActivity return new ShouldShowUiResult(true, call); } - if (call.hasSentVideoUpgradeRequest()) { + if (call.hasSentVideoUpgradeRequest() || call.hasReceivedVideoUpgradeRequest()) { LogUtil.i("InCallActivity.getShouldShowVideoUi", "upgrading to video"); return new ShouldShowUiResult(true, call); } -- cgit v1.2.3