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
diff --git a/src/com/android/contacts/common/CallUtil.java b/src/com/android/contacts/common/CallUtil.java
index e031e89..18b8040 100644
--- a/src/com/android/contacts/common/CallUtil.java
+++ b/src/com/android/contacts/common/CallUtil.java
@@ -60,7 +60,7 @@
public static Intent getVideoCallIntent(String number, String callOrigin) {
final Intent intent = new Intent(Intent.ACTION_CALL, getCallUri(number));
intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE,
- VideoProfile.VideoState.BIDIRECTIONAL);
+ VideoProfile.STATE_BIDIRECTIONAL);
if (!TextUtils.isEmpty(callOrigin)) {
intent.putExtra(PhoneConstants.EXTRA_CALL_ORIGIN, callOrigin);
}