summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Iterate old recordings properly when migrating call recording data.lineage-17.1Danny Baumann2020-06-051-2/+2
| | | | | | SparseArray.get() expects a key, not an index. Change-Id: I0ba40180dc9df9f8a8f4036ccbe47cc59a50cfbb
* Refactor call recording to use MediaProvider.Danny Baumann2020-06-047-75/+297
| | | | Change-Id: Id53d43d8bf10715a1597ff754f6c38a992302190
* Failed to show hold call when user click swap and merge simultaneouslyrongmei.li2020-05-241-0/+1
| | | | | | | | | Set EVENT_MERGE_START for foregroundConnection and backgroundConnection but don't set EVENT_MERGE_COMPLETE when there is ImsException Bug: 121105030 Change-Id: Ib376b24e5d307d8907d7ec2c8a3e025c04682d88
* Fix FATAL Exception in PostCallActivityTaesu Lee2020-05-241-0/+1
| | | | | | | | | | Use Theme.AppCompat.Light to fix IllegalStateException for PostCallActivity extending AppCompatActivity. Test: am start -n com.android.dialer/.postcall.PostCallActivity Change-Id: Ica815d43cd8dae73fbc8ec948dd701a1455d1704 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
* AOSP/Dialer - Fix improperly formatted resource string in Dialer across many ↵Raman Tenneti2020-05-2482-82/+82
| | | | | | | | | languages. Bug: 135615364 Test: manual - Did a "make -j40" and verified that there are no warnings in strings.xml. Change-Id: I5b835af079832c8f38bd582113559b830efedaef
* Fix the issue that automatic mute state remains ON after adding VT callSekine Yasuaki2020-05-248-51/+42
| | | | | | | | | | | | | | | An issue occurs because InCallFragment#onResume() that release the automatic mute state is not called when switching fragments by adding call. To resolve this issue, handle automatic mute state in InCallActivity. Bug: 110815828 Test: Checked that the mute state is turned OFF when add a video call during a voice call. Change-Id: Ided7c58e1148f6ee12bdfeaa813d596a4716c1d6 Change-Id: I7a956205fe8fbca56ec96a3bb672d792482c624a
* Fix error case which session change request failed when pausing videoSekine Yasuaki2020-05-245-20/+79
| | | | | | | | | | | | | | | | | | | | When a user clicks the pause video button, the camera close request and the session modify request are executed at the same time. However, the session modify request fails occasionally by a limitation of the Network side. In that case, the video session is continued with the camera closed state and a user cannot open the camera again due to pause video button disabled. Remove camera close request triggered by the pause video button clicked because it is handled appropriately according to the result of the session modify request. Also, enable the pause video button and show error message to a user if receiving the error result of the session modify request. Test: manual Bug: 69235524 Change-Id: I9a2dde755a6c28edfb0ce962b55ac8a6e907ca97
* Fix for button flickering issue when video call screen rotatesHideki Ishii2020-05-243-0/+44
| | | | | | | | | | | | | | | | | | | Issue: Buttons flicker when rotating video call screen and full screen mode. Because initial state of these buttons(components) are "visible". In full screen mode, these buttons should not be "visible" when video call screen is rotated. This patch modifies state of these buttons to "invisible" when video call screen rotates and isFullscreen()==True to fix the flicker issue. And, adding "enterFullscreenMode()" for getting correct view-size when changing layout by videocall-screen regenerated. Test: manual - Checked that not button flickering issue when video call screen during full screen mode rotates. Bug: 111242931 Change-Id: I271ae3fa395fa648a89c8debc5c0a76e1a0a5ecd
* Fix to update peer dimensions when video screen resumes foregroundSekine Yasuaki2020-05-242-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | [Issue/Cause of defect] If partner device is rotated during video screen of target device is in background, and then resumes to foreground, partner image will be shown with incorrect dimensions. Because when video screen goes to background, VideoCallPresenter stops checking CVO(Coordination of Video Orientation) of partner device. And when video screen is resumed to foreground, there is no logic to update partner image with latest peer dimensions. [How to fix] Even if video screen is in background, CVO(peer dimensions) is notified to DialerCall. Therefore DialerCall should store the dimensions. And when video screen resumes to fore, VideoCallPresenter should update the screen with correct(latest) peer dimensions. Test: manual - Checked that the partner image is shown with correct dimensions. Bug: 111575038 Change-Id: I32ff5407f1222b232b47a35e7083a473be67b468
* Fix issue that the hold label is not shown during remote video holdingOya Masafumi2020-05-241-1/+9
| | | | | | | | | | | | | | | | Hold label is not shown even if a remote party holds a video call because VideoCallFragment#updateRemoteOffView is not called. A condition checking shouldShowRemote whether to call the method was added in #I4be3488. But shouldShowRemote is not updated in this case. To solve this issue, checks isRemotelyHeld that indicates hold status of remote party and calls #updateRemoteOffView if it is updated. Test: manual - Check that the hold label is shown when a remote party holds a video call Bug: 110244504 Change-Id: I2dfac18b1a913de50adfbe4cc76f073678f5e186
* Fix preview image overlaps a call button during video callShalika Pathirathna2020-05-241-5/+5
| | | | | | | | | | | | | | | If a device supports hiding the navigation bar and it is enabled, preview image overlaps a call button during video call. Because the preview layout doesn't care about the visibility of the navigation bar. To fix the problem, use APIs of WindowInsets that care about the visibility of the navigation bar. Bug: 80376182 Test: manual - Checked the preview image doesn't overlap a call button when the navigation bar is not visible. Change-Id: I72c9d504f0485c24a6be09a50869a8248745623f
* Dialer: allow framework to do dark theming automaticallyJesse Chan2020-05-241-0/+1
| | | | | Change-Id: I5b840ba257adda69882e1fe19a55510802c45106 Signed-off-by: Jesse Chan <jc@lineageos.org>
* Updated target SDK from 28 to 29.Raman Tenneti2020-05-2416-21/+26
| | | | | | | | | | | | | | | | | Merged the following change from internal source: cl/305938566 Do not use EXTRA_IS_HANDOVER for API levels 28 and above When targeting API level 29, this field becomes blacklisted. Since the Handover feature is officially supported via a public API since API level 28, we do not need to check for the internal field when the API level is 28+. go/forrest_run/L11100000565062425 BUG: 143990966 Test: manual and CTS tests. Change-Id: Ib3fda29b4d5714efc52b29f49ca4a9a310584fff
* Automatic translation importMichael Bestas2020-05-231-0/+1
| | | | Change-Id: Idbea92dde333b4b4164abf820d592516874e3d67
* Dialer: Add extra privapp permissions xmlMichael Bestas2020-05-062-0/+32
| | | | Change-Id: If15bf82ad0914ab7d1b4be5438dc860189d7bb55
* Automatic translation importMichael Bestas2020-04-23414-414/+613
| | | | Change-Id: I0597dbb5ea12511c347c1bd08c2a12db5d57bd81
* Automatic translation importMichael Bestas2020-03-3016-16/+0
| | | | Change-Id: Ifbdc6aebc704856135923f66d6e2d3235655785b
* Merge tag 'android-10.0.0_r31' into lineage-17.1-android-10.0.0_r31Luca Stefani2020-03-071-3/+46
|\ | | | | | | | | | | | | | | | | Android 10.0.0 release 31 * tag 'android-10.0.0_r31': Require unlock for custom SMS dialog Change-Id: Icc08223fd37f937cd3ef8163be88d2db8d9c5341
| * Snap for 6091187 from 41606094d4330d2e79177b3a09dacb5390421eac to ↵android-build-team Robot2019-12-211-3/+46
| |\ | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: I329cdcfa6f8ccf0f892cdb7f22561e559c64de21
| | * Require unlock for custom SMS dialogBryan Ferris2019-12-191-3/+46
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when a call is recieved there is an option to write a custom text message in response to the call. This could allow an attacker to imporsonate the user. With this change devices that have a lock screen set will require that the pattern/pin/password be entered before a custom message can be written. This is a cherry-pick from the Pixel dialer. The original commit can be found at cl/257702865 Bug: b/137102479 Test: Call phone running the modified dialer and attempt to send a custom message Change-Id: Ib6822436bcebc799e7e920f1a5898d107dd619db Merged-In: Ib6822436bcebc799e7e920f1a5898d107dd619db
* | Automatic translation importMichael Bestas2020-01-27407-0/+13136
| | | | | | | | Change-Id: I27570067fb094bbcc5b4bb6d72755fcd6ff9cf0b
* | Beautify call stats details category headers.Danny Baumann2020-01-032-3/+10
| | | | | | | | | | | | Make them consistent with how pref category headers are displayed. Change-Id: I4ee8bb2dae11970051552d14df2d58d7ab6a3fdf
* | Enable call recording for Iranstaging/lineage-17.0_merge-android-10.0.0_r9mhkjahromi2019-12-111-0/+23
| | | | | | | | Change-Id: I5640405d9bd38ac3d83fd618543190c1b0d800fb
* | Enable call recording for ChinaHan Wang2019-12-111-6/+20
| | | | | | | | Change-Id: Id51a2e6a119e99ff50696b50513aed323c61565c
* | Base 'call recording allowed' decision on current country.Danny Baumann2019-12-1188-3063/+1345
| | | | | | | | | | | | | | | | | | Selection of resources by MCC happens via the SIM MCC, but what matters for legislation is the current country, not the country the SIM origins from. Because of that, move the decision about whether call recording is allowed or not to the current country instead of SIM MCC. Change-Id: I0ee365d7af8e3392716318e5a51e12e0efe7029a
* | Fix crash in call stats.Danny Baumann2019-12-111-5/+5
| | | | | | | | | | | | We fed color resources into LinearColorBar now. Change-Id: Ica6870fb6af8b982bc2710e7b63092c513fa4755
* | Dialer: AudioModeProvider: use wired route for usb headsetscodeworkx2019-12-111-0/+1
| | | | | | | | Change-Id: I920a9c259af5597dfd9a88a72e4ac54cb6e73f7a
* | Control dialer's incoming call proximity sensor check via an overlayblunden2019-12-112-0/+27
| | | | | | | | | | | | | | | | | | | | | | This feature can't be used on devices with proximity sensors that don't work when the screen is off, e.g. sensors using ultrasound technology. The result in those cases is a black screen with just the status bar showing, instead of the normal incoming call UI. Make it possible to opt-out via an overlay. Change-Id: Ic3848d09e1ed80e5409cbecbaca2517db16ed0b8
* | Re-add call statistics.Danny Baumann2019-12-1134-12/+3562
| | | | | | | | Change-Id: I9f2b6e912ca69a5aa7a1790bed06304ee953e752
* | Allow per-call account selection.Danny Baumann2019-12-1113-24/+257
| | | | | | | | Change-Id: Ieac27294f4069b2cff17bb39a0954f74320ad943
* | Re-add call recording.Danny Baumann2019-12-11127-21/+4489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Danny Baumann <dannybaumann@web.de> Date: Mon Jul 9 11:19:24 2018 +0200 Re-add call recording. Change-Id: I53fadf5754b5b6cc3e9920d57480e470e2305ac0 Author: Markus Gruber <gruberma@outlook.at> Date: Sat Oct 13 09:17:01 2018 +0200 Allow call recording for Austria * Call recording is legal in Austria, so it should be available in the UI Change-Id: Iaae0b222d2a1108572832732471e7e063f84dd1f Author: Alexandre Pary <alexandre.pary@gmail.com> Date: Wed Oct 17 11:33:35 2018 +0200 Allow call recording for Belgium * Call recording is legal in Belgium, so it should be available in the UI Change-Id: I0d18c5c31aa5fbde08a849932ac0c8088508dbd8 Author: Arekusu Rin <alexmatteotv@gmail.com> Date: Thu Oct 18 10:20:42 2018 +0200 Allow call recording for Bulgaria. * Call recording is legal, subject to certain restrictions, in Bulgaria. Call recording without notification or one side's consent is not a criminal offense, and only affects the admissibility of said call recording as evidence. Change-Id: Ie35f23056914fb2e7639ea509675e21e7fdfab26 (cherry picked from commit 4cec325c31dbe5894ab576b6161065ad0458612d) Author: Bruno Martins <bgcngm@gmail.com> Date: Tue Oct 23 21:03:47 2018 +0100 res: Fix malformed XML * The legal precedent source URL includes double dashes and breaks aapt2 compilation. Replace it by a shortened one. Change-Id: Ic1cb1b6af16d27649e36478ca7597b78b93b1338 Author: Arekusu Rin <alexmatteotv@gmail.com> Date: Thu Oct 25 12:50:57 2018 +0200 Enable or disable call recording for numerous countries via MCC. * This change handles call recording within the Dialer. Changes were made to the template of all of the XML files, and all links were changed to https, where possible. Quotes of the precedents and/or laws can be found within each country's XML file. Countries' whose status was not changed are not explicitly mentioned below, despite any changes to their files. * Call recording is disabled for: Andorra, Iceland, Indonesia, Monaco, Switzerland, the United States of America and some of its territories - Guam, Northern Mariana Islands, Puerto Rico and the United States Virgin Islands. * Call recording is enabled for: Albania, American Samoa, Argentina, Armenia, Aruba, Belarus, Bonaire, Bosnia and Herzegovina, Brazil, Canada, Chile, Croatia, Curaçao, Cyprus, Estonia, Faroe Islands, French Guiana, French Polynesia, Georgia, Greece, Greenland, Guadeloupe, Hungary, India, Ireland, Israel, Japan, Kosovo, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Martinique, Mayotte, Moldova, Montenegro, Morocco, New Caledonia, New Zealand, North Macedonia, Peru, Russia, Réunion, Saba, Saint Barthélemy, Saint-Martin, Saint-Pierre-et-Miquelon, Serbia, Singapore, Sint Eustatius, Sint Maarten, Slovakia, Slovenia, South Africa, South Korea, Turkey, Ukraine and Wallis-et-Futuna. Change-Id: Iba5b7028d26cac281099f81bf3d5c21e2ee4d1a9 Author: Arekusu Rin <alexmatteotv@gmail.com> Date: Wed Jun 12 09:58:05 2019 +0200 Enable Call Recording for Sri Lanka and Costa Rica. * Call recording is enabled for: Sri Lanka (413) and Costa Rica (712). * Fixes: Removed newline from Belgium (206) and space from Russia (250). Change-Id: I4c9ecf41e9fd472b97fff5cd03800414737be87a Change-Id: Ie9e0af8ccadb1bab1c52a5d905344d0c8fcab92c
* | Add setting to enable Do Not Disturb during callsblunden2019-12-116-0/+137
| | | | | | | | | | | | | | | | Android N and earlier enabled Do Not Disturb mode while in a call. Reimplement this behavior to prevent incoming notifications from vibrating or playing sounds. Change-Id: Ic38ac775c6e353898190e1571b6d6e521c0e5aa1
* | Generalize the in-call vibration settings categoryblunden2019-12-113-16/+30
| | | | | | | | | | | | | | | | | | Rename it to "In-call" and adjust the preference hiding code accordingly. Turn checkboxes into switches for more consistency. Change-Id: If22a58b4f82e3db59373e53da0632c126bd946f4
* | Re-add dialer lookup.Xiao-Long Chen2019-12-1137-1/+3820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Mon Sep 12 09:34:02 2016 +0200 Re-add dialer lookup. BUGBASH-612: do not send phone numbers to non-ssl sites for reverse/forward/people lookups Change-Id: I677460ad5767b8698ee24d6d43ff159aee55387a Author: Joey <joey@lineageos.org> Date: Wed Mar 28 21:11:16 2018 +0200 Dialer: comply with EU's GDPR Disable lookup by default and add a disclaimer for the feature Change-Id: If7a181952304dbaee736762bdfd5819eddc5f89b Signed-off-by: Joey <joey@lineageos.org> Change-Id: I4ff90a678618fa8c7b5970dff3dd246b0c87135c
* | Allow using private framework API.Danny Baumann2019-12-111-1/+1
| | | | | | | | Change-Id: I2ae8882a3ca9d99ecba6e1b4f8d6ed426036818d
* | Add back in-call vibration featuresDanny Baumann2019-12-116-1/+212
| | | | | | | | Change-Id: Ia30a3c46e9c37d7d73288ec605af8efc3a46a323
* | Revert "Remove dialer sounds and vibrations settings fragments and redirect ↵Danny Baumann2019-12-112-15/+246
| | | | | | | | | | | | | | | | | | | | | | to the system sound settings fragment instead." We add additional settings to this fragment, so the stated reasons for removing it don't apply to us. This reverts commit c378fb17f0ae994b950273e0f91b5692ad7638cf. Change-Id: I0a8bd3135c43627d4355cc5c01c1144a03518144
* | Dialer: disable anti-falsing for call answer screenAdrian DC2019-12-111-15/+0
| | | | | | | | | | | | | | | | | | * The anti-falsing implementation from HumanInteractionClassifier regularly prevents easy swipe to answer, requiring multiple attempts until accepted. Change-Id: Iebad27f9da7bb8fea6fc663dc99ac6c17d94ed5f (cherry picked from commit 583e42df0f6f02f1a6c05dbdc5559f42e99c8727)
* | Dialer: handle database upgrade from cm-14.1Dan Pasanen2019-12-111-3/+3
| | | | | | | | Change-Id: Iaf212538d01d1e6400ea0e4fb54b3d414e983f40
* | Dialer: adaptive iconAsher Simonds2019-12-1117-1/+21
| | | | | | | | | | Change-Id: Ice040bb2785e8e4e3828c6008121520586d269ac Signed-off-by: Joey <joey@lineageos.org>
* | Dialer: define app categoryJoey2019-12-111-0/+1
| | | | | | | | | | Change-Id: I53b6ee1c70925c50e91270e0b084d777dd8c06f6 Signed-off-by: Joey <joey@lineageos.org>
* | Upgrade AOSP Dialer to Android Q, add necessary permissions in application side.Evan Wu2019-05-141-0/+3
|\| | | | | | | | | | | am: e9f21732d5 Change-Id: I11a34c67056349f989cb962c8ed65312bfbfae51
| * Upgrade AOSP Dialer to Android Q, add necessary permissions in application side.Evan Wu2019-05-071-0/+3
|/ | | | | | | | | | | | | | | | 1.Protect Device Identifiers: Starting in Android Q, apps must have the READ_PRIVILEGED_PHONE_STATE privileged permission in order to access the device's non-resettable identifiers IMEI and serial is used for the *#06# dialog. OEMs needs this to run factory tests. Perhaps it is something that should be moved to telephony, but as the current state dialer is showing it. 2.Limit pre-installed app network permission:Preinstalled apps that want to access restricted network needs to declare the CONNECTIVITY_USE_RESTRICTED_NETWORKS permission. Restricted network is used for VVM access. 3.Notification fullscreen intent attribution, Developers need to add a uses-permission tag for android.permission.USE_FULL_SCREEN_INTENT to their manifest Full screen intent is used for incoming call notification Bug: 132081872 132080738 132114409 Test: Compile and load build Change-Id: Iec458cef1ff0c5a4180b438b8ba1a5159bdd8e92
* Merge master@5406228 into git_qt-dev-plus-aosp.Bill Rassieur2019-04-030-0/+0
|\ | | | | | | | | | | am: 5b2ad1476e Change-Id: I0a27012094e6e55540447d1e5badb843f38a6590
| * Merge master@5406228 into git_qt-dev-plus-aosp.Bill Rassieur2019-03-291-0/+4
| |\ | |/ |/| | | | | Change-Id: Ice9562f96bde9db2da4ecca0ab08e006088c9271 BUG: 129345239
* | Merge "Update OWNERS file for AOSP dialer." am: 381dffd9a9 am: d8a4d83a88Tyler Gunn2019-03-201-0/+4
|\ \ | |/ |/| | | | | | | am: 7a401d8bab Change-Id: Id8755704f48e5a736b0f64e1ed602366cb48ba69
| * Merge "Update OWNERS file for AOSP dialer." am: 381dffd9a9Tyler Gunn2019-03-201-0/+4
| |\ | | | | | | | | | | | | | | | am: d8a4d83a88 Change-Id: I0fa8f789e7af6347ca2caa6a30fb6b6b07ac535d
| | * Merge "Update OWNERS file for AOSP dialer."Tyler Gunn2019-03-201-0/+4
| | |\ | | | | | | | | | | | | | | | | | | | | am: 381dffd9a9 Change-Id: Ifa40ab4dcce7be62a56160bb7da8691303701d52
| | | * Merge "Update OWNERS file for AOSP dialer."Treehugger Robot2019-03-211-0/+4
| | | |\
| | | | * Update OWNERS file for AOSP dialer.Tyler Gunn2019-03-201-0/+4
| | | |/ | | | | | | | | | | | | | | | | | | | | Bug: 63966743 Test: Build Change-Id: If9454a90b03a8b907dda7c0f321b423f772effdd