From 1dc2ceac680da86d2be40f4ac9f5639bd1d113a3 Mon Sep 17 00:00:00 2001 From: calderwoodra Date: Wed, 20 Sep 2017 16:30:41 -0700 Subject: 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 --- java/com/android/incallui/videotech/VideoTech.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'java/com/android/incallui/videotech/VideoTech.java') 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. + * + *

See {@link #isTransmitting()} + */ + boolean isPaused(); + VideoCallScreenDelegate createVideoCallScreenDelegate( Context context, VideoCallScreen videoCallScreen); -- cgit v1.2.3