summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/videotech/VideoTech.java
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2017-09-20 16:30:41 -0700
committerEric Erfanian <erfanian@google.com>2017-09-22 15:58:42 +0000
commit1dc2ceac680da86d2be40f4ac9f5639bd1d113a3 (patch)
treeb116e8052183984a79571b8f46a19893842dddc8 /java/com/android/incallui/videotech/VideoTech.java
parent13221d724c9f26b8ff94c38d0911bbdcabdcb169 (diff)
Updated ongoing call notification to reflect video call state.
screenshots: ongoing: http://screen/FkAM9hOU5Rq paused: http://screen/mrp6UJCoWAu Bug: 63274792,63271690 Test: StatusBarNotifierTest PiperOrigin-RevId: 169469414 Change-Id: I442e21d93b7e11dea191311acd28846ea257c156
Diffstat (limited to 'java/com/android/incallui/videotech/VideoTech.java')
-rw-r--r--java/com/android/incallui/videotech/VideoTech.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/com/android/incallui/videotech/VideoTech.java b/java/com/android/incallui/videotech/VideoTech.java
index e3753bc65..410c35762 100644
--- a/java/com/android/incallui/videotech/VideoTech.java
+++ b/java/com/android/incallui/videotech/VideoTech.java
@@ -39,6 +39,14 @@ public interface VideoTech {
boolean shouldUseSurfaceView();
+ /**
+ * Returns true if the video is paused. This is different than if the video stream has been turned
+ * off.
+ *
+ * <p>See {@link #isTransmitting()}
+ */
+ boolean isPaused();
+
VideoCallScreenDelegate createVideoCallScreenDelegate(
Context context, VideoCallScreen videoCallScreen);