diff options
author | Rekha Kumar <rekhak@codeaurora.org> | 2015-03-24 16:42:31 -0700 |
---|---|---|
committer | Rekha Kumar <rekhak@quicinc.com> | 2015-04-01 21:40:45 +0000 |
commit | 07366813cdf3768dcd69a1f744023747564d654a (patch) | |
tree | e1725bc43600b5f78bd810f57507b4fad0b47283 /telecomm/java/android/telecom/ParcelableCall.java | |
parent | 1b6be18b2d4a822110182d06335e4d6c0ad8ba54 (diff) | |
download | frameworks_base-07366813cdf3768dcd69a1f744023747564d654a.zip frameworks_base-07366813cdf3768dcd69a1f744023747564d654a.tar.gz frameworks_base-07366813cdf3768dcd69a1f744023747564d654a.tar.bz2 |
IMS-VT: Upgrade/Downgrade change
-Add isVideo API to VideoProfile.VideoState
IMS-VT: Fix propagation of device orientation.
Orientation received at VT Service is incorrect.
Fixed propagation of device orientation to VT service.
IMS-VT: Upgrade fix
-Add session modify call timed out constant
Notify listeners of video quality changed event
- Propagate the video quality changed message to the UI.
IMS: Add support for video quality
- Add Config interface to get/set video quality
IMS-VT: Multitasking feature
-Support for video multitasking
IMS-VT: Modification of data usage aidl
Change data usage aidl interface to take parameter type long
instead of int
Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc
Propagate the call substate changed message to the UI
IMS-VT: Add call modifiable capability
PhoneCapababilities call type modifiable constant added
IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set
IMS-VT: Enable Video conferencing.
Enable Video conferencing.
Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b
IMS-VT: Add hide for setVideoProvider API
Observed compilation error for SDK generation due to setVideoProvider
API. Marking setVideoProvider as hide inorder to resolve the
compilation error.
IMS-VT: Add persist.radio.ims.audio.output for VT calls
-- Add persist.radio.ims.audio.output to set the default speaker
for VT calls.
-- Add required constants
IMS-VT: Add additional error codes for upgrade downgrade
-Add support to send additional error codes to UI during
upgrade downgrade.
Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
Diffstat (limited to 'telecomm/java/android/telecom/ParcelableCall.java')
-rw-r--r-- | telecomm/java/android/telecom/ParcelableCall.java | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/telecomm/java/android/telecom/ParcelableCall.java b/telecomm/java/android/telecom/ParcelableCall.java index c5c3d11..adc648f 100644 --- a/telecomm/java/android/telecom/ParcelableCall.java +++ b/telecomm/java/android/telecom/ParcelableCall.java @@ -54,6 +54,7 @@ public final class ParcelableCall implements Parcelable { private final int mVideoState; private final List<String> mConferenceableCallIds; private final Bundle mExtras; + private int mCallSubstate; public ParcelableCall( String id, @@ -75,7 +76,8 @@ public final class ParcelableCall implements Parcelable { StatusHints statusHints, int videoState, List<String> conferenceableCallIds, - Bundle extras) { + Bundle extras, + int callSubstate) { mId = id; mState = state; mDisconnectCause = disconnectCause; @@ -96,6 +98,7 @@ public final class ParcelableCall implements Parcelable { mVideoState = videoState; mConferenceableCallIds = Collections.unmodifiableList(conferenceableCallIds); mExtras = extras; + mCallSubstate = callSubstate; } /** The unique ID of the call. */ @@ -232,6 +235,14 @@ public final class ParcelableCall implements Parcelable { return mExtras; } + /** + * The call substate. + * @return The substate of the call. + */ + public int getCallSubstate() { + return mCallSubstate; + } + /** Responsible for creating ParcelableCall objects for deserialized Parcels. */ public static final Parcelable.Creator<ParcelableCall> CREATOR = new Parcelable.Creator<ParcelableCall> () { @@ -262,6 +273,7 @@ public final class ParcelableCall implements Parcelable { List<String> conferenceableCallIds = new ArrayList<>(); source.readList(conferenceableCallIds, classLoader); Bundle extras = source.readParcelable(classLoader); + int callSubstate = source.readInt(); return new ParcelableCall( id, state, @@ -282,7 +294,8 @@ public final class ParcelableCall implements Parcelable { statusHints, videoState, conferenceableCallIds, - extras); + extras, + callSubstate); } @Override @@ -321,6 +334,7 @@ public final class ParcelableCall implements Parcelable { destination.writeInt(mVideoState); destination.writeList(mConferenceableCallIds); destination.writeParcelable(mExtras, 0); + destination.writeInt(mCallSubstate); } @Override |