summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrew Lee <anwlee@google.com> 2014-07-21 19:54:31 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-07-19 22:40:06 +0000
commitfaa0f30a58d897cd5fdaba698793e1684da06d50 (patch)
tree4877d9fef9505324f6b6709b687b887b026537e7
parente8dc4bef00e391defbdee0264b2ed955b1117841 (diff)
parent055e5a227bf9924fb8278e14ffc08a4054ba8f95 (diff)
Merge "Add video call profile constructor which takes video state only." into lmp-dev
-rw-r--r--api/current.txt1
-rw-r--r--telecomm/java/android/telecomm/VideoCallProfile.java9
2 files changed, 10 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index c8b25824a830..001d9b99fa8e 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -28711,6 +28711,7 @@ package android.telecomm {
}
public class VideoCallProfile implements android.os.Parcelable {
+ ctor public VideoCallProfile(int);
ctor public VideoCallProfile(int, int);
method public int describeContents();
method public int getQuality();
diff --git a/telecomm/java/android/telecomm/VideoCallProfile.java b/telecomm/java/android/telecomm/VideoCallProfile.java
index fc7b2c34c350..5b15e4aa1574 100644
--- a/telecomm/java/android/telecomm/VideoCallProfile.java
+++ b/telecomm/java/android/telecomm/VideoCallProfile.java
@@ -77,6 +77,15 @@ public class VideoCallProfile implements Parcelable {
* Creates an instance of the VideoCallProfile
*
* @param videoState The video state.
+ */
+ public VideoCallProfile(int videoState) {
+ this(videoState, QUALITY_DEFAULT);
+ }
+
+ /**
+ * Creates an instance of the VideoCallProfile
+ *
+ * @param videoState The video state.
* @param quality The video quality.
*/
public VideoCallProfile(int videoState, int quality) {