summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/videotech/ims/ImsVideoTech.java
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2017-09-28 12:23:35 -0700
committerEric Erfanian <erfanian@google.com>2017-10-02 14:56:37 -0700
commit4d705e558d25a8fd810cb551c43c5a517cd1c2b9 (patch)
tree62e9f38f107a3a0021c2454bda23a3da5c06f43d /java/com/android/incallui/videotech/ims/ImsVideoTech.java
parent43d73dfdbda67ed9f405fa15e303643d97d33b70 (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/ims/ImsVideoTech.java')
-rw-r--r--java/com/android/incallui/videotech/ims/ImsVideoTech.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/android/incallui/videotech/ims/ImsVideoTech.java b/java/com/android/incallui/videotech/ims/ImsVideoTech.java
index 0ef07d667..0310a90ac 100644
--- a/java/com/android/incallui/videotech/ims/ImsVideoTech.java
+++ b/java/com/android/incallui/videotech/ims/ImsVideoTech.java
@@ -327,6 +327,11 @@ public class ImsVideoTech implements VideoTech {
DialerImpression.Type.UPGRADE_TO_VIDEO_CALL_BUTTON_SHOWN_FOR_IMS);
}
+ @Override
+ public com.android.dialer.logging.VideoTech.Type getVideoTechType() {
+ return com.android.dialer.logging.VideoTech.Type.IMS_VIDEO_TECH;
+ }
+
private boolean canPause() {
return call.getDetails().can(Details.CAPABILITY_CAN_PAUSE_VIDEO);
}