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
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package android.telecom;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Handler;
|
||||
import android.os.IBinder;
|
||||
import android.os.Looper;
|
||||
@@ -302,7 +303,7 @@ public class VideoCallImpl extends VideoCall {
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public void setPauseImage(String uri) {
|
||||
public void setPauseImage(Uri uri) {
|
||||
try {
|
||||
mVideoProvider.setPauseImage(uri);
|
||||
} catch (RemoteException e) {
|
||||
|
||||
Reference in New Issue
Block a user