summaryrefslogtreecommitdiffstats
path: root/telecomm
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-07-21 12:14:11 -0700
committerAndrew Lee <anwlee@google.com>2014-07-21 12:20:56 -0700
commit055e5a227bf9924fb8278e14ffc08a4054ba8f95 (patch)
tree7d5cb149a50bc2c83453777ff7b5a13dc086258f /telecomm
parentd1c344e412ba927db0276d37f7a42362aa2966b0 (diff)
downloadframeworks_base-055e5a227bf9924fb8278e14ffc08a4054ba8f95.zip
frameworks_base-055e5a227bf9924fb8278e14ffc08a4054ba8f95.tar.gz
frameworks_base-055e5a227bf9924fb8278e14ffc08a4054ba8f95.tar.bz2
Add video call profile constructor which takes video state only.
Bug: 16014280 Change-Id: I218256ae1e20783084412758cf5a44f7f5dec52e
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecomm/VideoCallProfile.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/telecomm/java/android/telecomm/VideoCallProfile.java b/telecomm/java/android/telecomm/VideoCallProfile.java
index fc7b2c3..5b15e4a 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) {