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/dialer/util/CallIntentUtil.java b/src/com/android/dialer/util/CallIntentUtil.java
index 2d9fef3..fac26f7 100644
--- a/src/com/android/dialer/util/CallIntentUtil.java
+++ b/src/com/android/dialer/util/CallIntentUtil.java
@@ -87,7 +87,7 @@
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 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 static Intent getVideoCallIntent(
String number, String callOrigin, PhoneAccountHandle accountHandle) {
return getCallIntent(CallUtil.getCallUri(number), callOrigin, accountHandle,
- VideoProfile.VideoState.BIDIRECTIONAL);
+ VideoProfile.STATE_BIDIRECTIONAL);
}
/**