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 --- .../android/incallui/videotech/lightbringer/LightbringerTech.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java/com/android/incallui/videotech/lightbringer') diff --git a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java index 1ddf3716e..9adc53b0d 100644 --- a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java +++ b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java @@ -195,4 +195,9 @@ public class LightbringerTech implements VideoTech, LightbringerListener { public void onLightbringerStateChanged() { listener.onVideoTechStateChanged(); } + + @Override + public com.android.dialer.logging.VideoTech.Type getVideoTechType() { + return com.android.dialer.logging.VideoTech.Type.LIGHTBRINGER_VIDEO_TECH; + } } -- cgit v1.2.3