diff options
author | Tyler Gunn <tgunn@google.com> | 2015-05-06 08:52:27 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2015-05-06 08:52:27 -0700 |
commit | 4538216a31d15b01e18c7b504e51031da0ce6e40 (patch) | |
tree | 3ff5816a01518ff07b756edaaa89617344eaa514 /telecomm/java/android/telecom/ParcelableCall.java | |
parent | d5304020b29762ce79d66c1ed3028b0ee30c68ad (diff) | |
download | frameworks_base-4538216a31d15b01e18c7b504e51031da0ce6e40.zip frameworks_base-4538216a31d15b01e18c7b504e51031da0ce6e40.tar.gz frameworks_base-4538216a31d15b01e18c7b504e51031da0ce6e40.tar.bz2 |
Change sendSessionModifyRequest VideoProvider API signature.
Including a fromProfile in addition to the requestedProfile.
- Changed VideoCallImpl to generate the fromVideoProfile based on the
call's current videoState. This ensures the InCall UI only needs to
pass in the new video profile; the VideoCall Impl already has enough
knowledge to generate the fromProfile.
- Changed VideoCallImpl to track the current videoQuality, which forms
a part of the fromVideoProfile.
Bug: 20704229
Change-Id: I89f293f03a2b13fc8c1dcfd8a07ab8640d3950e0
Diffstat (limited to 'telecomm/java/android/telecom/ParcelableCall.java')
-rw-r--r-- | telecomm/java/android/telecom/ParcelableCall.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telecomm/java/android/telecom/ParcelableCall.java b/telecomm/java/android/telecom/ParcelableCall.java index 1a30910..bb65ce9 100644 --- a/telecomm/java/android/telecom/ParcelableCall.java +++ b/telecomm/java/android/telecom/ParcelableCall.java @@ -178,10 +178,10 @@ public final class ParcelableCall implements Parcelable { * Returns an object for remotely communicating through the video call provider's binder. * @return The video call. */ - public InCallService.VideoCall getVideoCall() { + public InCallService.VideoCall getVideoCall(Call call) { if (mVideoCall == null && mVideoCallProvider != null) { try { - mVideoCall = new VideoCallImpl(mVideoCallProvider); + mVideoCall = new VideoCallImpl(mVideoCallProvider, call); } catch (RemoteException ignored) { // Ignore RemoteException. } |