summaryrefslogtreecommitdiffstats
path: root/telecomm
Commit message (Collapse)AuthorAgeFilesLines
* Un-@hiding some missed VT APIs.Tyler Gunn2015-05-084-18/+0
| | | | | Bug: 20947116 Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
* Merge "Filter list of possible default dialers" into mnc-devYorke Lee2015-05-071-5/+36
|\
| * Filter list of possible default dialersYorke Lee2015-04-281-5/+36
| | | | | | | | | | | | | | Make sure they handle the ACTION_DIAL intent with the tel scheme Bug: 20304411 Change-Id: I1822eff8bc014d4679352165ebe2bc819b82f75b
* | Merge "Fix potential NPE in TelecomManager.placeCall" into mnc-devYorke Lee2015-05-061-1/+5
|\ \
| * | Fix potential NPE in TelecomManager.placeCallYorke Lee2015-05-051-1/+5
| | | | | | | | | | | | | | | | | | Don't pass null parameters Change-Id: Icf8f4eb3e96a51a5c091322c83ae163e366c21de
* | | Change sendSessionModifyRequest VideoProvider API signature.Tyler Gunn2015-05-066-17/+47
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add hidden methods to set/get default dialer across users" into mnc-devYorke Lee2015-05-051-10/+41
|\ \
| * | Add hidden methods to set/get default dialer across usersYorke Lee2015-05-041-10/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | First part of a set of changes to make the default dialer work across multiple users. This initial CL should not affect any user-facing behavior, just add new methods. Bug: 20696062 Change-Id: If1651240e185b4c09e960260c822c9265069fb9a
* | | Merge changes from topic 'mwd-merge-050415' into mnc-devPrerepa Viswanadham2015-05-058-2/+98
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Merge commit 'b6f59f4' into master_merge Merge commit 'f6db0ce' into master_merge Merge commit '17455a3' into master_merge Merge commit 'b4d5b32' into master_merge Merge commit 'a1a2fa7' into master_merge Merge commit '8dfdb98' into master_merge Merge commit 'eba66c3' into master_merge
| * | Merge commit '17455a3' into master_mergePrerepa Viswanadham2015-05-018-2/+98
| |\ \
| | * | Add plumbing for merge failures and renable button. (3/4)Anthony Lee2015-04-286-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The merge failure is not plumbed up through any layer that can trap the callback and act on it. The first part of this fix is to create that plumbing. Then we need to reenable the merge button. At this point in time, we leverage the fact that forcing the call to reassess its capabilities will poke the InCallUI to reenable the merge button. In the future, we should plumb the merge failure all the way to InCallUI and not only handle the button but display UI to the user. The UI is currently being displayed by CallNotifier which is the wrong place. See b/20530631 for more details. Bug: 20229905 Change-Id: I0355ada46b484c6db4bee656c77386dd61be5e1f
| | * | Fixing issue where conference calls enable speaker phone.Tyler Gunn2015-04-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The issue was due to a mis-merge in ParcelableConference. The write of the status hints happens at the end of the writeToParcel method. Bug: 20503132 Change-Id: I40ef9b267b48876006e4cbe29e5ae09ba77bcb33
| | * | Add videoStateToString on videoProvider Class.Tyler Gunn2015-04-241-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Got tired of looking at numerical integer videoStates, so added a new "videoStateToString" static method, similar to how we have a Connection#capabilitiesToString method. Bug: 20257400 Change-Id: I39fcf413938c90e5993985f0976ad4fcce11505d
| | * | DO NOT MERGE Make CAPABILITY_CAN_PAUSE_VIDEO publicYorke Lee2015-04-211-1/+0
| | | | | | | | | | | | | | | | Change-Id: If20f642a3d6bda886a68bb1e0ce459c38361a73c
| | * | DO NOT MERGE Make CAPABILITY_VIDEO_CALLING publicYorke Lee2015-04-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change was previously made in master Change-Id: Ica37a2060dca35ed6c734852a12b8f9ab27cd8aa
| | * | DO NOT MERGE Unfinal getPhone.Santos Cordon2015-04-162-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change to make it final was breaking existing apps. ...and other changes. Bug: 20283873 Change-Id: I8db4243850ad15f688dbca59ff5427b4799cbd1b
| | * | DO NOT MERGE Rename Call*Listener to Call*Callback.Andrew Lee2015-04-164-54/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecate the existing Listener methods and interfaces so that they can be replaced. Bug: 20160491 Change-Id: I11c104c625b03751f3792fc4367883c18c6e2d54
| | * | DO NOT MERGE Move Phone.java APIs into InCallServiceSantos Cordon2015-04-161-2/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is one step in the right direction of getting rid of Phone.java. Phone.java was deemed superfluous and this change moves the methods previously exposed in Phone.java into InCallService. This was done by having InCallService listen to Phone and pipe the calls as appropriate. However, state still lives in Phone and we eventually want to move that code into InCallService. That will be done in a later CL. Bug: 20160495 Change-Id: Id142431c253c1f24f260da42e8bedd1eb2ce448b
| | * | DO NOT MERGE Remove connection substateJay Shrauner2015-04-1610-206/+10
| | | | | | | | | | | | | | | | | | | | Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
* | | | Add Properties to Call.Details.Andrew Lee2015-04-302-59/+80
|/ / / | | | | | | | | | | | | | | | | | | Moved some capabilities to properties which seemed appropriate. Bug: 20160395 Change-Id: Iacef4365822e5c3e50f0c41a501bf295c22055f1
* | | Add handler parameter for callbacks.Andrew Lee2015-04-307-121/+497
| | | | | | | | | | | | | | | Bug: 20160491 Change-Id: I94639b06b8c97b6585e169d667a67ce328e716af
* | | Add default dialer checks to Telecom/TelephonyYorke Lee2015-04-292-10/+12
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Check for the default dialer or the modify phone state permission for various TelecomManager/TelephonyManager methods. Make sure to check the user-selected default rather than the hardcoded package name. Exercise this code in TestDialerActivity. Bug: 20304458 Change-Id: Ic04cd8f2ba98e1d54c39549ae89d3e11cd5cdafb
* | Merge "Simplify DefaultDialerManager" into mnc-devYorke Lee2015-04-281-59/+21
|\ \
| * | Simplify DefaultDialerManagerYorke Lee2015-04-281-59/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous code worked with ComponentNames because it was based off existing code for the default SMS application. We only really need the package name however, so simplify the code by storing and retrieving the package name directly. Bug: 20304458 Change-Id: Icabd3a9f0f8166c105360494b601160d13767fad
* | | Merge "Rename setDefaultDialerApplication for consistency" into mnc-devYorke Lee2015-04-271-1/+1
|\ \ \ | |/ / |/| |
| * | Rename setDefaultDialerApplication for consistencyYorke Lee2015-04-271-1/+1
| | | | | | | | | | | | Change-Id: I8227df913bdb0ed5e1b3472f9d4ebea1158b366b
* | | Add utility method isDefaultOrSystemDialerYorke Lee2015-04-271-0/+21
|/ / | | | | | | | | | | | | | | | | Will be used by various system components to determine if a given package name is a privileged Dialer Bug: 20333102 Bug: 20304411 Change-Id: I1e5bcbde8ee9a5dc6936b118b1b78f32d97737a6
* | Merge "Doc fix - incorrect format (included argument) for function reference."Etan Cohen2015-04-251-1/+1
|\ \
| * | Doc fix - incorrect format (included argument) for function reference.Etan Cohen2015-04-241-1/+1
| | | | | | | | | | | | Change-Id: I2cdf7b4f078b1ab0556fcc3fad5287f86641c396
* | | Merge "Fix documentation - non-public API."Etan Cohen2015-04-251-1/+1
|\ \ \ | |/ /
| * | Fix documentation - non-public API.Etan Cohen2015-04-241-1/+1
| | | | | | | | | | | | Change-Id: I418bf47b197936b2f50b231425312d5b6d272df8
* | | Merge changes from topic 'mwd-merge-042415'Etan Cohen2015-04-2511-48/+164
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Rename removeVideoCallListener to unregisterCallback Bluetooth document fix: remove reference from open API to hidden entities Fix build due to merge of 7595842 and renaming due to 8eb87f0 Merge commit '052a0da' into merge2 Merge commit 'db1dbb8' into merge2 Merge commit '7e5e791' into merge2 Merge commit '170102d' into merge2 Merge commit '4cb5d80' into merge2 Merge commit '83cda00' into merge2 Merge commit 'c91bc62' into merge2 Merge commit 'cffc360' into merge2 Merge commit '7f61051' into merge2 Merge commit '167c3a7' into merge2 Merge commit '4467b98' into merge2 Merge commit '25a217c' into merge2 Merge commit '04b18ec' into merge2 Merge commit '7595842' into merge2 Merge commit '2bbd2b6' into merge2 Merge commit '4890351' into merge2 Merge commit 'cd405fe' into merge2 Merge commit '6ddbb5e' into merge2 Merge commit 'de93575' into merge2 Merge commit '9561e74' into merge2
| * | Rename removeVideoCallListener to unregisterCallbackEtan Cohen2015-04-243-4/+4
| | | | | | | | | | | | Change-Id: Ie6b5ac9131e81900efc7d3fa67056aa47d566a44
| * | Fix build due to merge of 7595842 and renaming due to 8eb87f0Etan Cohen2015-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | I.e. rename mVideoCallback -> mCallback. Line with original name was added in mwd, renaming was done in master. The renaming CL was cherry-picked to mwd (and build probably fixed there). Change-Id: I462a0fedd00293a148404e1419740bf492ae5de9
| * | Merge commit '7f61051' into merge2Etan Cohen2015-04-243-16/+43
| |\ \ | | |/
| | * Fix missing comma.Andrew Lee2015-04-161-1/+1
| | | | | | | | | | | | Change-Id: Ied739e7f1b6d548237821db553f27994b0ee92af
| | * resolve merge conflicts of edc625f to m-wireless-dev.Andrew Lee2015-04-163-15/+42
| | |\ | | | | | | | | | | | | Change-Id: Ibbcd764505ccc38f9f61c96993d979a099f1cc6b
| | | * Add StatusHints to Conference object.Andrew Lee2015-04-153-14/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + Consolidated ParcelableConference constructors; only one is used. Bug: 20181703 Change-Id: Iad49f10404e1c1eedc4ef68525bde0f10a8dfc97
| | * | DO NOT MERGE Change hasVoicemailNumber to getVoicemailNumberYorke Lee2015-04-162-8/+9
| | | | | | | | | | | | | | | | | | | | Bug: 20223485 Change-Id: I293572bb6c32c5084fe684e7cfe7bd2bbfb5443b
| * | | Merge commit '04b18ec' into merge2Etan Cohen2015-04-241-1/+1
| |\ \ \ | | |/ /
| | * | Merge "Fix incorrect Conference time for IMS conference calls." into ↵Tyler Gunn2015-04-161-1/+1
| | |\ \ | | | | | | | | | | | | | | | m-wireless-dev
| | | * | Fix incorrect Conference time for IMS conference calls.Tyler Gunn2015-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like the connectTimeMillis parameter to ParcelableConference got removed when partner CLs were merged in. Adding it back fixes the problem. Bug: 20159830 Change-Id: Ibe067f64f8faea6fd1eb157e5073bc702978c511
| * | | | Merge commit '7595842' into merge2Etan Cohen2015-04-248-32/+121
| |\ \ \ \ | | |/ / / | | | | | | | | | | Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
| | * | | Support for multiple VideoCall.Listeners for a VideoCall.Tyler Gunn2015-04-168-32/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current code assumes that only a single instance of VideoCall will be provided to the default system InCall UI. Ideally multiple InCallService implementations should be able to use the VideoCall APIs. Note: it only really makes sense for a single InCallService to get/set the video surfaces. - Fixed bug in ParcelableCall which would cause a new instance of VideoCallImpl to be created every time a call is updated from Telecom. Added a flag to ParcelableCall to indicate whether the parcel includes a change to the video provider information, which is used when unparceling to determine whether to set/create the video call impl. - Renamed "setVideoCallback" to "addVideocallback". - Modified Connection.VideoProvider code to keep a list of Video callbacks and fire off all of them when Video Provider changes occur. Bug: 20092420 Change-Id: Ic16b6afe1b7532cc64d006c133adbae57946d97d
| | * | | DO NOT MERGE Hide getUserSelectedOutgoingPhoneAccountJay Shrauner2015-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug:20224972 Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
| | * | | DO NOT MERGE Make Telecom/InCallUI APIs publicJay Shrauner2015-04-1520-141/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
| | * | | DO NOT MERGE Make defaultOutgoingPhoneAccount publicYorke Lee2015-04-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20224972 Change-Id: Ided1aab01d5014bd608d0d139975f933f64341c5
| | * | | Merge "DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL." into ↵Andrew Lee2015-04-152-13/+13
| | |\ \ \ | | | | | | | | | | | | | | | | | | m-wireless-dev
| | | * | | DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL.Andrew Lee2015-04-152-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20160395 Change-Id: Ib343fde5088f3a5823c73de6ab77564b4be0d12c
| | * | | | DO NOT MERGE Hide Voicemail APIsJay Shrauner2015-04-152-1/+5
| | |/ / / | | | | | | | | | | | | | | | | | | | | Bug:20162722 Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e