From 7a3413858679489bbb1d042fdd11b07d671f5fb8 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 15 Jul 2014 17:05:08 -0700 Subject: [PATCH] Adding getVideoState method to Telecomm Call's details. Bug: 16013878 Change-Id: I07b219c0952543b7c27694ae06f0eb468a17f1ee --- api/current.txt | 1 + telecomm/java/android/telecomm/Call.java | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/api/current.txt b/api/current.txt index f4f0bfa65f1cf..1ad6a89777ebf 100644 --- a/api/current.txt +++ b/api/current.txt @@ -27996,6 +27996,7 @@ package android.telecomm { method public android.telecomm.GatewayInfo getGatewayInfo(); method public android.net.Uri getHandle(); method public int getHandlePresentation(); + method public int getVideoState(); } public static abstract class Call.Listener { diff --git a/telecomm/java/android/telecomm/Call.java b/telecomm/java/android/telecomm/Call.java index b17f929e2e84a..9f38d0d76c170 100644 --- a/telecomm/java/android/telecomm/Call.java +++ b/telecomm/java/android/telecomm/Call.java @@ -153,6 +153,13 @@ public final class Call { return mGatewayInfo; } + /** + * @return Returns the video state of the {@code Call}. + */ + public int getVideoState() { + return mVideoState; + } + @Override public boolean equals(Object o) { if (o instanceof Details) {