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) {