summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004cm-13.0Michael Bestas2019-08-10210-29673/+13691
| | | | Change-Id: Icebc41b26c120ba9e3dc5aa9bbf33774774760a4
* Fix potential NPE in EmergencyCallbackModeExitDialog.Tyler Gunn2018-08-081-4/+5
| | | | | | | | | | Ensure NPE will not crash com.android.phone process. Test: Manual using test app provided in bug Bug: 79995313 Change-Id: I83a5e94acdae4287e6a62558cffb586d35930b47 Merged-In: I8b899023b0977e4a8963cc536602ced4f7e43769 (cherry picked from commit 00f0c43dc4dd37d13ef614e84492783a9a6e981b)
* DO NOT MERGE Revise security requirements for TelephonyManager#endCall.Tyler Gunn2018-08-081-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Note: This fix will be applied up to and including O, but no further since the P release includes an appropriate substitute API. There are multiple apps using reflection to call TelephonyManager#endCall. Although reliance on reflection to call internal implementation methods is a bad practice, our previous fix for this method rendered a number of popular apps in the ecosystem broken. This patch relaxes the security restrictions surrounding the endCall method and re-instates the ability for a caller holding CALL_PHONE permission to end non-emergency calls. In Android P, the new MODIFY_PHONE_STATE restriction remains in place as the new TelecomManager#endCall API provides a supported means for apps to reject or end calls. Test: Use test app to ensure emergency calls cannot be terminated. Test: Use test app to ensure calls can't be terminated in ECM mode. Test: Use test app to ensure calls can be rejected/ended with CALL_PHONE permission. Test: Use test app to ensure calls cannot be rejected/ended without CALL_PHONE permission. Bug: 67862398 Change-Id: Ibac8f4f91402c91176f58fd951be122b513a4cc0 (cherry picked from commit 84101e8a0f89a97f79919debe181223384c97ba6)
* Enhanced permission checks for TelephonyManager#endCall() API.replicant-6.0-0004-rc1Tyler Gunn2018-05-201-1/+7
| | | | | | | | | | | | | | The existing permission checks require CALL permission in order to end an ongoing call or reject an incoming call. The Telecom equivalent of this API requires MODIFY_PHONE_STATE. Since this API IS in fact a system API, modifying the permission requirements to require the same MODIFY_PHONE_STATE permission. Test: Manual testing per bug reproduction steps. Bug: 67862398 Change-Id: I8f15f6afd00466f6b861079a83e9fa03b962f63f (cherry picked from commit 6707357c6e198287046e76c1d6fc5edf1fcb3fee) (cherry picked from commit ee1901e859ed4624723d18497b70c59b0b658747)
* Automatic translation importAbhisek Devkota2017-12-1314-2/+2129
| | | | Change-Id: Iaea201d346137be5ccd049d85ae97d118bf83c19
* Automatic translation importreplicant-6.0-0003Abhisek Devkota2017-09-196-51/+37
| | | | Change-Id: Ie52e6a7ee1d2a8793e347acae9354442891f204c
* Automatic translation importreplicant-6.0-0002Abhisek Devkota2017-07-272-13/+13
| | | | Change-Id: I097afb2643fbc6cfa7100a5437176590e22dc4d4
* Automatic translation importAbhisek Devkota2017-07-034-34/+46
| | | | Change-Id: If2fb5eb798e930c3b7a46fe242cf278b2f076297
* Automatic translation importAbhisek Devkota2017-06-224-66/+54
| | | | Change-Id: I646d7fa705ea7728616c289e3c9ff8370b504246
* Automatic translation importAbhisek Devkota2017-06-036-16/+31
| | | | Change-Id: I56f5cf78903681502f69046ccd10c320bef32f77
* Automatic translation importreplicant-6.0-0001Abhisek Devkota2017-04-2819-691/+498
| | | | Change-Id: I6fd329e29701900af160ab73efd661f3b7be237b
* Added permission check for setCellInfoListRateJack Yu2017-04-051-0/+1
| | | | | | | | | | | | | | | Now the caller needs to have MODIFY_PHONE_STATE to call this API. Test: Manual bug: 33815946 Merged-In: Ia2cf0de383572033c70b94ae71080ef35c3f443c AOSP-Change-Id: Ia2cf0de383572033c70b94ae71080ef35c3f443c CVE-2017-0554 Change-Id: I9c48ae03ffd2bf54634f5f9a537df496de40119e (cherry picked from commit aeb795ef2290af1a0e4b14909363bc574e6b3ee7)
* Automatic translation importAbhisek Devkota2017-02-199-5/+731
| | | | Change-Id: Ic003e8c7da96b2d87c16b215fac55f7ede85d173
* Catch SIP exceptions which can crash Phone process on answer.Tyler Gunn2017-02-031-0/+13
| | | | | | | | | | | | | | | | | | | | | | 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 06a98183cc79dd112d9d33cf027977a9d5d3418a) (cherry picked from commit eb72c560946a61853b15cb96bba83957d948b6d4) (cherry picked from commit 1cdced590675ce526c91c6f8983ceabb8038f58d)
* Automatic translation importAbhisek Devkota2017-02-023-3/+3
| | | | Change-Id: I8865f38dfe9c07d751a17acb857c16c723df5877
* Automatic translation importAbhisek Devkota2017-02-015-12/+25
| | | | Change-Id: Ief52aea2397c19f34a5553b9a4b2c5a58d72772c
* Automatic translation importAbhisek Devkota2017-01-2621-77/+37
| | | | Change-Id: I37c5beead83f242a4abcf8c8cd9bd981e9a3fd33
* Automatic translation importblinky@build012016-12-242-13/+13
| | | | | Change-Id: I6c8b90e3df18699d9524a48a5efcc7768be91b76 Ticket: -
* Automatic translation importblinky@build012016-12-2219-6/+60
| | | | | Change-Id: Id3633cff7c0747364f1a43c5744ebdb35045d985 Ticket: -
* Automatic translation importblinky@build012016-12-212-9/+39
| | | | | Change-Id: Idde9a44b00ec4644c63e6ac107eda62853766858 Ticket: -
* Automatic translation importblinky@build012016-12-181-0/+1
| | | | | Change-Id: Idc552414ac7946ba402017273b16b4e38b09b978 Ticket: -
* Automatic translation importclyde@build012016-12-161-0/+54
| | | | | Change-Id: I668681339dde0da0a61f493d2d149643c3ecace5 Ticket: -
* Automatic translation importpinky@build012016-12-151-1/+1
| | | | | Change-Id: Iaad75a453d41197ee9f59117231e7b959d8ad4f7 Ticket: -
* Unexport OmtpMessageReceiverTa-wei Yen2016-12-121-1/+1
| | | | | | | | | | | | | | | 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. CYNGNOS-3312 Bug: 31566390 Change-Id: I83f3d42ba185c072357ec6f18b99c3f12f452eb9 (cherry picked from commit a39ff9526aee6f2ea4f6e02412db7b33d486fd7d) (cherry picked from commit 83bfc18805451ebd30cec3b7dc381598cd3552a4)
* Restrict SipProfiles to profiles directoryBrad Ebinger2016-12-122-4/+27
| | | | | | | | | | | | 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. CYNGNOS-3312 BUG: 31530456 Change-Id: I9c9bce59d852e8a1cf500be6ca59b5e303877180 (cherry picked from commit 4c761b96c2ee36410603df8e8a4fb4e07c12ede0) (cherry picked from commit a600baef3ac8bc8624788d149cbb164952e9ccc1)
* Automatic translation importinky@build012016-12-022-23/+23
| | | | | Change-Id: Ib5a5b7a8bd0a59c16132a5ef1565eabb7aa77d8f Ticket: -
* Automatic translation importinky@build012016-11-294-126/+18
| | | | | Change-Id: I42af733a871893ac3be8b99cdf174e7cecaa2dbe Ticket: -
* Telephony: Redirect to roaming SIM network setting(Dual SIM)chengzhi.hou2016-10-173-4/+15
| | | | | | | | When inserted two SIM card and one is roaming SIM, click Data Roaming notification redirect to roaming SIM network setting not SIM1's network setting. Change-Id: I8f701478ce771bbf6e0f70ea23149afd70b34464
* Telephony: Fix mobile network settings for CDMA without LTEGabriele M2016-10-061-0/+3
| | | | Change-Id: I789e30583195011c5f97884a9aa74f66ad90a0cd
* Merge tag 'android-6.0.1_r72' into HEADJessica Wagantall2016-10-060-0/+0
|\ | | | | | | | | | | | | Android 6.0.1 Release 72 (M4B30X) # gpg: Signature made Tue 04 Oct 2016 09:47:46 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| * Make TTY broadcasts protectedBrad Ebinger2016-08-161-0/+2
| | | | | | | | | | | | | | | | | | 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
* | Automatic translation importpinky@build012016-09-256-12/+83
| | | | | | | | | | Change-Id: I83714bdf93dc7f94f50b94ccd81428a73b0f8cf8 Ticket: -
* | Merge tag 'android-6.0.1_r66' into HEADJessica Wagantall2016-09-071-0/+2
|\ \ | | | | | | | | | | | | | | | | | | Android 6.0.1 release 66 # gpg: Signature made Tue 06 Sep 2016 09:27:12 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| * | Make TTY broadcasts protectedBrad Ebinger2016-07-211-0/+2
| |/ | | | | | | | | | | | | | | | | 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
* | Automatic translation importclyde@build012016-09-061-0/+1
| | | | | | | | | | Change-Id: I0cc7401edc8a7f101a30b786470c8d8d584aacf1 Ticket: -
* | Automatic translation importpinky@build012016-08-290-0/+0
| | | | | | | | | | Change-Id: I50f464c22233691f7c86f67c72b7b0b0de7ba188 Ticket: -
* | Automatic translation importpinky@build012016-08-2717-0/+2142
| | | | | | | | | | Change-Id: Ib8f320cd18a744c40c4832b6adbc972c2bc40363 Ticket: -
* | Automatic translation importblinky@build012016-08-131-0/+5
| | | | | | | | | | Change-Id: I8bc8759fd5fef4a039ccbc2f53cf58a0875d1acf Ticket: -
* | Automatic translation importblinky@build012016-08-071-9/+9
| | | | | | | | | | Change-Id: Ic55d3ba5e9df2e96c0817c08bf978bc26a0caa6e Ticket: -
* | MobileNetworkSettings: Check CarrierConfig on isWorldModeAaron Knight2016-08-041-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | Add support for checking the CarrierConfig version of the World Phone config. If this is not present, fall back to the old deprecated way of looking it up from the Telephony settings. Not having this prevented the world phone config from working if you fully migrated to CarrierConfig - you had to have both versions or you would fail this check Change-Id: I73939f1055849793d108b02bf034ab79e360c4e4
* | EditPhoneNumberPreference: Prevent empty text from being setStephen Bird2016-07-281-0/+44
| | | | | | | | | | | | | | | | | | | | These preferences need an entry in the edit text or else the phone and/or the ui gets put into a weird state where actions like Call forwarding can appear disabled when they are not. Change-Id: I8c70f3fe571651c5cf4cea4696688e391af73911 Ticket: CYNGNOS-3098
* | NetworkSelection: CleanupMichael W2016-07-271-15/+0
| | | | | | | | | | | | | | * Remove unused functions * Remove redundant "return" Change-Id: Ie7a121e3f42d4fa557dcd65574b6a0de6b5ddcb2
* | NetworkSelection: Fix for setting shortcutMichael W2016-07-271-4/+7
| | | | | | | | | | | | | | | | When adding carrier selection as a setting shortcut, no intent is passed and the subId can't be extracted from there. Use the default subscription Id in that case Change-Id: Ie70ded06799a1afd3401119e9241fe4f3503e2d6
* | NetworkSelection: Fix double display of radio technologyMichael W2016-07-271-2/+10
| | | | | | | | | | | | | | Some carriers add the technology to their name already so it is not required to add it again by code. Change-Id: Ibfa096cf9b62d9054860d9d76d6e5894c68bbf67
* | Automatic translation importblinky@build012016-07-251-2/+2
| | | | | | | | | | Change-Id: I5b65be7a6c4cc7ab8d52bb01975ef15d13d5d4ed Ticket: -
* | Telephony: Fix voicemail preference issueKeith Mok2016-07-231-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The preferences are all removed and re-created during onResume, this causes multiple problem, as pick contact list will fire new activity and when it return back, VoicemailSettingsActivity onResume is called, making mSubMenuVoicemailSettings pointer to a new object instead of the one being currently displayed. Therefore saveVoiceMailAndForwardingNumber is not called. Same situation happens when Phone is temperory put into background and then back again. Also during screen orientation change in contact picker, VoicemailSettingsActivity will be re-created when return, causing mSubMenuVoicemailSettings equal to null and crash the Phone application Fix it by avoid un-necessary layout re-creation CYNGNOS-3184, FEIJ-1504, FEIJ-1505 Change-Id: Iee35b165e5f0aba1aba11c197a513278412b8207
* | Telephony: reset persisted user nw mode on network factory resetRoman Birg2016-07-191-0/+1
| | | | | | | | | | | | | | Ticket: CYNGNOS-3165 Change-Id: If5ff337201daac5156ef7dd044e6929329506fc2 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Automatic translation importpinky@build012016-07-171-2/+2
| | | | | | | | | | Change-Id: I4665456bdb611436423057479f789c282af28d4b Ticket: -
* | Automatic translation importinky@build012016-07-151-0/+19
| | | | | | | | | | Change-Id: I357834ade6a4a5992dee241b1a3d5e2341e62586 Ticket: -
* | Automatic translation importblinky@build012016-07-140-0/+0
| | | | | | | | | | Change-Id: If7d6cd842f6318c09c660865ead9c8b5b212af24 Ticket: -