| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Icebc41b26c120ba9e3dc5aa9bbf33774774760a4
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Change-Id: Iaea201d346137be5ccd049d85ae97d118bf83c19
|
|
|
|
| |
Change-Id: Ie52e6a7ee1d2a8793e347acae9354442891f204c
|
|
|
|
| |
Change-Id: I097afb2643fbc6cfa7100a5437176590e22dc4d4
|
|
|
|
| |
Change-Id: If2fb5eb798e930c3b7a46fe242cf278b2f076297
|
|
|
|
| |
Change-Id: I646d7fa705ea7728616c289e3c9ff8370b504246
|
|
|
|
| |
Change-Id: I56f5cf78903681502f69046ccd10c320bef32f77
|
|
|
|
| |
Change-Id: I6fd329e29701900af160ab73efd661f3b7be237b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Change-Id: Ic003e8c7da96b2d87c16b215fac55f7ede85d173
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Change-Id: I8865f38dfe9c07d751a17acb857c16c723df5877
|
|
|
|
| |
Change-Id: Ief52aea2397c19f34a5553b9a4b2c5a58d72772c
|
|
|
|
| |
Change-Id: I37c5beead83f242a4abcf8c8cd9bd981e9a3fd33
|
|
|
|
|
| |
Change-Id: I6c8b90e3df18699d9524a48a5efcc7768be91b76
Ticket: -
|
|
|
|
|
| |
Change-Id: Id3633cff7c0747364f1a43c5744ebdb35045d985
Ticket: -
|
|
|
|
|
| |
Change-Id: Idde9a44b00ec4644c63e6ac107eda62853766858
Ticket: -
|
|
|
|
|
| |
Change-Id: Idc552414ac7946ba402017273b16b4e38b09b978
Ticket: -
|
|
|
|
|
| |
Change-Id: I668681339dde0da0a61f493d2d149643c3ecace5
Ticket: -
|
|
|
|
|
| |
Change-Id: Iaad75a453d41197ee9f59117231e7b959d8ad4f7
Ticket: -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Change-Id: Ib5a5b7a8bd0a59c16132a5ef1565eabb7aa77d8f
Ticket: -
|
|
|
|
|
| |
Change-Id: I42af733a871893ac3be8b99cdf174e7cecaa2dbe
Ticket: -
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I789e30583195011c5f97884a9aa74f66ad90a0cd
|
|\
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
Change-Id: I83714bdf93dc7f94f50b94ccd81428a73b0f8cf8
Ticket: -
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
Change-Id: I0cc7401edc8a7f101a30b786470c8d8d584aacf1
Ticket: -
|
| |
| |
| |
| |
| | |
Change-Id: I50f464c22233691f7c86f67c72b7b0b0de7ba188
Ticket: -
|
| |
| |
| |
| |
| | |
Change-Id: Ib8f320cd18a744c40c4832b6adbc972c2bc40363
Ticket: -
|
| |
| |
| |
| |
| | |
Change-Id: I8bc8759fd5fef4a039ccbc2f53cf58a0875d1acf
Ticket: -
|
| |
| |
| |
| |
| | |
Change-Id: Ic55d3ba5e9df2e96c0817c08bf978bc26a0caa6e
Ticket: -
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
* Remove unused functions
* Remove redundant "return"
Change-Id: Ie7a121e3f42d4fa557dcd65574b6a0de6b5ddcb2
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
Some carriers add the technology to their name already so it
is not required to add it again by code.
Change-Id: Ibfa096cf9b62d9054860d9d76d6e5894c68bbf67
|
| |
| |
| |
| |
| | |
Change-Id: I5b65be7a6c4cc7ab8d52bb01975ef15d13d5d4ed
Ticket: -
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
Ticket: CYNGNOS-3165
Change-Id: If5ff337201daac5156ef7dd044e6929329506fc2
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| |
| |
| |
| |
| | |
Change-Id: I4665456bdb611436423057479f789c282af28d4b
Ticket: -
|
| |
| |
| |
| |
| | |
Change-Id: I357834ade6a4a5992dee241b1a3d5e2341e62586
Ticket: -
|
| |
| |
| |
| |
| | |
Change-Id: If7d6cd842f6318c09c660865ead9c8b5b212af24
Ticket: -
|