- 07 Dec, 2016 1 commit
-
-
Tyler Gunn authored
There are two exceptions which can be raised when answering a call which can cause the Phone process to crash on answer. 1. IllegalStateException due to answering a call with an incompatible codec. 2. IllegalArgumentException due to answering a call with a malformed SDP. In both of these cases we catch the exception and reject the call to stop it from ringing (otherwise it will keep ringing and the user will not be able to stop it). The existing CallStateException does not require onReject to be called as it is thrown when the call has already been disconnected before it can be answered. Test: Manual (see bug) Bug: 31752213 Change-Id: I5254fd3a27b86fdc70889ea0a2b5be3b699fd9f5 (cherry picked from commit e3b4afc616fbca63235691d81214a9f6f45c25a2)
-
- 03 Nov, 2016 2 commits
-
-
Ta-wei Yen authored
Introduced in https://partner-android-review.googlesource.com/#/c/204705/ Receivers do not need to be exported to receive system broadcasts. OmtpMessageReceiver should also check the intent action, but least possible scope of change is preferred. Bug: 31566390 Change-Id: I83f3d42ba185c072357ec6f18b99c3f12f452eb9 (cherry picked from commit a39ff952)
-
Brad Ebinger authored
We now check SIP profile names to ensure that they do not attempt file traversal when being saved. They are now restricted to be children of the profiles/ directory. BUG: 31530456 Change-Id: I9c9bce59d852e8a1cf500be6ca59b5e303877180 (cherry picked from commit 4c761b96)
-
- 22 Jul, 2016 1 commit
-
-
Brad Ebinger authored
Currently, any app can broadcast the intent to update the TTY mode. This change updates the intents to protected broadcasts so that only system can broadcast them. Otherwise, a SecurityException will be thown. Bug: 29832693 Change-Id: Ic9a91be3d8d15043e3165b766348cff301dd5da1
-
- 22 Apr, 2016 1 commit
-
-
Brad Ebinger authored
Use the correct Emergency PhoneAccount for a MT call on a phone with no SIM that is in ECM. Also, reject incoming SIP calls that are received on a disabled PhoneAccount instead of crashing the Phone process. Bug: 27820226 Change-Id: I79aa1eb9d07760a6d31d97ec2e2cd3c430a43215
-
- 27 Feb, 2016 1 commit
-
-
Brad Ebinger authored
When a new incoming call occurs in SIP, SipUtil mistakenly uses the Uri handle instead of the profile name to create the PhoneAccountHandle. Since this PhoneAccountHandle is not registered with telecom, it will throw a security exception (as of b/26864502). BUG: 26874216 Change-Id: I27611b45f0834fca328c4cc2b867edaf970f7171
-
- 06 Nov, 2015 1 commit
-
-
Tyler Gunn authored
This reverts commit 03ff4664. Bug: 25489006 Bug: 22753438 Change-Id: Ie14cf1332f6e9141bb679406ed0952c37c727d65
-
- 02 Nov, 2015 1 commit
-
-
Tyler Gunn authored
When a new call is created in Telephony, there is a potential for the connection extras to not be passed up through to Telecom if the RIL does not call the onExtrasChanged callback. If the connections were set on the original connection but never changed, then it is conceivable that we may never see an onExtrasChanged callback and hence never propagate the extras up. Bug: 24585039 Change-Id: Ic1da1998a25afb6d380fda81bba591846a02dda7
-
- 28 Oct, 2015 1 commit
-
-
Geoff Mendal authored
Change-Id: Iee61083dd3bab44bdf497d1c75ede25c3e52f919 Auto-generated-cl: translation import
-
- 26 Oct, 2015 2 commits
-
-
Geoff Mendal authored
Change-Id: I01ffa9935458c68d57388671de44c6f8e4963faa Auto-generated-cl: translation import
-
Geoff Mendal authored
Change-Id: Id65d07913caab509d87acd718642577f9a276540 Auto-generated-cl: translation import
-
- 20 Oct, 2015 1 commit
-
-
Santos Cordon authored
1) Add an early return to disallow disconnected unknown connections. 2) Move code in run updateState() after uses of mOriginalConnection since it is possible for updateState() to set it to null. 3) Add logging to the bug so that we can recognize when and how this situation happens in the wild. Bug: 24469962 Change-Id: Ic7c986bff98ee65677a4a2cb06beff54d79e5ab6
-
- 19 Oct, 2015 1 commit
-
-
Geoff Mendal authored
Change-Id: Ide1b678b0df3bb29fdfc5edf8ca307178f61ef19 Auto-generated-cl: translation import
-
- 16 Oct, 2015 7 commits
-
-
Sanket Padawe authored
Merge "Set network type to ro.telephony.default_network if hiding preferred network type" into mnc-dr-dev
-
Sungmin Choi authored
Since pref is being hidden from user, set network mode to default in case it is currently something else. That is possible if user changed the setting while roaming and is now back to home network. Bug: 25012603 Change-Id: I2bdf92a3c62a2d2e995f74285a77b33be70cd82f
-
Roshan Pius authored
When a SIP call is in dialing state, it cannot be held. Hence ignore switching of fg/bg calls when there are multiple calls and the foreground call is still in dialing state. This would prevent the user from unholding the background call and hitting a crash when we try to switch out the foreground dialing call. BUG: 17448699 Change-Id: I816d3c3f0253811f1ae4e7aeaa138a830d0c4d25
-
Tyler Gunn authored
-
Tyler Gunn authored
Our code relied on the state of SipConnection to prevent us from holding a HELD call and unholding an ACTIVE call. However, while the action is in progress, the SipConnection state can be slightly delayed so we double-check the internal state of the lower connection prior to issuing a switchHoldingAndActive command. Bug: 24007856 Change-Id: I617ef215e66f6b9324dc17cb1b9832cc35390f17
-
Roshan Pius authored
Fixing a security vulneraibility in SIP Boradcast Receiver from an externally provided patch. BUG: 22538035 Change-Id: Idcb559a21abe395faa87d1f9a28175f4c0889130 (cherry picked from commit 92046786)
-
Andrew Lee authored
This is a clean cherry-pick; already submitted to master. Bug: 22251420 Change-Id: Ia6b9c60543596e73ae887cb0b0754ef39ee87132
-
- 12 Oct, 2015 1 commit
-
-
Tyler Gunn authored
-
- 07 Oct, 2015 1 commit
-
-
Tyler Gunn authored
- Removed the portrait lock from manifest for sim contacts import. Bug: 22753438 Change-Id: I0c755ce8c77e910450d31f665ae22353d1b83cdf
-
- 06 Oct, 2015 1 commit
-
-
Shriram Ganesh authored
Disconnect the children of conference call before ending the conferece call itself. Bug: 24677801 Change-Id: Ia168360926b87a2482c607b6fe7c314faae9c184
-
- 26 Sep, 2015 1 commit
-
-
Baligh Uddin authored
-
- 25 Sep, 2015 3 commits
-
-
Baligh Uddin authored
Change-Id: Ibeb32188054a137be50b413e61b5a8c1a4abed6a Auto-generated-cl: translation import
-
Sungmin Choi authored
If user connects CMCC roaming network with CMHK SIM, user should be able to select TDSCDMA mode. Bug: 24382870 Change-Id: I5d3628b4c6afea277720b31d00c6ed9d02f676bc
-
Baligh Uddin authored
Change-Id: I2aa09d386321226bf693e2f8f644429187b66293 Auto-generated-cl: translation import
-
- 22 Sep, 2015 2 commits
-
-
Amit Mahajan authored
-
Sungmin Choi authored
Needed for hot swap between TDSCDMA and non-TDSCDMA SIMs. Bug: 24239947 Change-Id: Iaf39cdf52f09280cfbda349f1ed762d887d16ef4
-
- 18 Sep, 2015 2 commits
-
-
Baligh Uddin authored
Change-Id: Ib914fe22cdaba776248a80830716cb9fbb9e9211 Auto-generated-cl: translation import
-
Shishir Agrawal authored
-
- 17 Sep, 2015 1 commit
-
-
Sanket Padawe authored
Bug: 24116804 Change-Id: Ib64e3a7917e5199b8f0a095b39127666c17e6385
-
- 15 Sep, 2015 1 commit
-
-
Sungmin Choi authored
Bug: 23862319 Change-Id: I41b3d0bd06316102af857e21a428269bc2f8059b
-
- 11 Sep, 2015 3 commits
-
-
Vineeta Srivastava authored
-
Baligh Uddin authored
-
Sungmin Choi authored
Other operators (CT, CU) do not support TDSCDMA. They are CDMA operators. Change-Id: Ic1b8be91221547dc6b3cb07252f07b645cbbd740
-
- 10 Sep, 2015 4 commits
-
-
Baligh Uddin authored
Change-Id: Iea50a1f3fd8fbf380b096a549e00092ae6ae6b9f Auto-generated-cl: translation import
-
Tyler Gunn authored
-
Shishir Agrawal authored
Allow the API to specify if the selection should be persisted across reboots. This also has the side affect of not notifying the user when signal is lost. Necessary becasue the API might be used transparent to the user and the notifications will be bizarre. Bug: 23971948 Change-Id: Ie3874352138cc6512d3b7afea35f1a7e23ff8e44
-
Nivedita Sarkar authored
Currently call extras are closely coupled with call state changes. To propagate call extras from internal.telephony.Connection the PRECISE_CALL_STATE_CHANGED event shall be triggered which is genarally triggered when phone/call changes its state. This change removes the above mentioned dependency by updating call extras upon receiving the onExtrasChanged notification which can be triggered independently of call state changes. Bug: 22329706 Change-Id: I57ae69ef48fa2ac23cb5ffbc4902275e865e1a1c
-