diff options
author | Yorke Lee <yorkelee@google.com> | 2015-05-12 16:21:39 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-05-12 16:21:39 -0700 |
commit | fb25533b84296f73b8f352d42f1e8c7c3910325d (patch) | |
tree | 8d38d89d8757327a7c079887f875c83de61d9d34 | |
parent | 4244689ea8d7a89ff41c0a0035047e33451dacf9 (diff) |
More video related API fixes
android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs
android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String
android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_
Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
-rw-r--r-- | src/com/android/dialer/util/CallIntentUtil.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/dialer/util/CallIntentUtil.java b/src/com/android/dialer/util/CallIntentUtil.java index 2d9fef3d6..fac26f7a0 100644 --- a/src/com/android/dialer/util/CallIntentUtil.java +++ b/src/com/android/dialer/util/CallIntentUtil.java @@ -87,7 +87,7 @@ public class CallIntentUtil { public static Intent getCallIntent( Uri uri, String callOrigin, PhoneAccountHandle accountHandle) { return getCallIntent(uri, callOrigin, accountHandle, - VideoProfile.VideoState.AUDIO_ONLY); + VideoProfile.STATE_AUDIO_ONLY); } /** @@ -95,7 +95,7 @@ public class CallIntentUtil { */ public static Intent getVideoCallIntent(String number, String callOrigin) { return getCallIntent(CallUtil.getCallUri(number), callOrigin, null, - VideoProfile.VideoState.BIDIRECTIONAL); + VideoProfile.STATE_BIDIRECTIONAL); } /** @@ -105,7 +105,7 @@ public class CallIntentUtil { public static Intent getVideoCallIntent( String number, String callOrigin, PhoneAccountHandle accountHandle) { return getCallIntent(CallUtil.getCallUri(number), callOrigin, accountHandle, - VideoProfile.VideoState.BIDIRECTIONAL); + VideoProfile.STATE_BIDIRECTIONAL); } /** |