diff options
author | wangqi <wangqi@google.com> | 2017-09-28 12:23:35 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-10-02 14:56:37 -0700 |
commit | 4d705e558d25a8fd810cb551c43c5a517cd1c2b9 (patch) | |
tree | 62e9f38f107a3a0021c2454bda23a3da5c06f43d /java/com/android/incallui/videotech/lightbringer/LightbringerTech.java | |
parent | 43d73dfdbda67ed9f405fa15e303643d97d33b70 (diff) |
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
Diffstat (limited to 'java/com/android/incallui/videotech/lightbringer/LightbringerTech.java')
-rw-r--r-- | java/com/android/incallui/videotech/lightbringer/LightbringerTech.java | 5 |
1 files changed, 5 insertions, 0 deletions
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; + } } |