From 4d705e558d25a8fd810cb551c43c5a517cd1c2b9 Mon Sep 17 00:00:00 2001 From: wangqi Date: Thu, 28 Sep 2017 12:23:35 -0700 Subject: Fix crash on hanging up simulator video call. The problem is that InCallActivityCommon#onStop will try to commit any fragment which will crash. This change also fix a bug that simulatorRemoteVideo is not stopped after hanging up. Bug: 67045513 Test: manual PiperOrigin-RevId: 170380589 Change-Id: I25e0f43141eaa573189f4d9c0109fd2689c10374 --- java/com/android/incallui/videotech/empty/EmptyVideoTech.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java/com/android/incallui/videotech/empty/EmptyVideoTech.java') diff --git a/java/com/android/incallui/videotech/empty/EmptyVideoTech.java b/java/com/android/incallui/videotech/empty/EmptyVideoTech.java index f156a14ad..2e34a6a8a 100644 --- a/java/com/android/incallui/videotech/empty/EmptyVideoTech.java +++ b/java/com/android/incallui/videotech/empty/EmptyVideoTech.java @@ -107,4 +107,9 @@ public class EmptyVideoTech implements VideoTech { @Override public void becomePrimary() {} + + @Override + public com.android.dialer.logging.VideoTech.Type getVideoTechType() { + return com.android.dialer.logging.VideoTech.Type.NONE; + } } -- cgit v1.2.3