summaryrefslogtreecommitdiffstats
path: root/java/com
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-046-74/+295
| | | | 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-2414-19/+24
| | | | | | | | | | | | | | | | | 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
* 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
| * 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-11125-20/+4479
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1136-1/+3819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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-1116-0/+20
|/ | | | | Change-Id: Ice040bb2785e8e4e3828c6008121520586d269ac Signed-off-by: Joey <joey@lineageos.org>
* Merge "Fix incorrect notification text is displayed for video call in dialing"Treehugger Robot2018-10-121-2/+2
|\
| * Fix incorrect notification text is displayed for video call in dialingQiong Liu2018-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Ongoing video call" is displayed in dialing state on the notification. But "Dialing" should be displayed. Wrong order of condition to decide the text causes this issue. It should have checked dialing state before checking video call state. To resolve this issue, check the dialing sate at first and then, check the video call sate. Bug: 111424745 Test: manual - Checked "Dialing" is displayed if it is dialing state. Change-Id: Id03909178370df3cc4905699f46e13f9a39aeb45
* | Apply application theme to call details.Eric Erfanian2018-08-081-0/+2
|/ | | | | | Bug: 111437430 Test: make Change-Id: Ib6658962f5339c33a28e326fb0478d2f4df786bd
* Merge "Use ContactDisplayPreferencesStub when device is locked."Treehugger Robot2018-07-114-7/+72
|\
| * Use ContactDisplayPreferencesStub when device is locked.Eric Erfanian2018-07-104-7/+72
| | | | | | | | | | | | | | | | | | | | | | | | PreferenceManager.getDefaultSharedPreferences() can only be called when the device is unlocked. The module will lazily construct the impl. Fix defaults for contact display preferences. If the settings are accessed before the preferences are populated the wrong default value will be used. Test: make Bug: 111275389, 111051362 Change-Id: I29e34d61d529c91065aa3ef952d125d83cdee982
* | Update translation strings.Eric Erfanian2018-07-105002-114449/+87048
|/ | | | | Test: make Change-Id: Ib75f4f25e91067311de244d7f1fb95bc898aec22
* Revert "Ignore display cutout for in call UI."Eric Erfanian2018-07-101-1/+0
| | | | | | This reverts commit a45b5e0299bad5aa6d287179d2c476570f14f347. Change-Id: I062108a36138f1023e549dafad7518177da74a03
* Revert "UI refresh for ringing screen."Eric Erfanian2018-07-1015-41/+251
| | | | | | This reverts commit 36d5b93da4f93e50deb496daa5ad820c48aa7b01. Change-Id: I533bc3f7d592a6e257d184f0d3730b4be95f2af2
* Revert "Internal change"Eric Erfanian2018-07-101-1/+1
| | | | | | This reverts commit 988dac56b45e935b99b125f608a2019ce836602b. Change-Id: I825b8ef2074592fcf23a419cd2cb4d0185035df7
* Revert "UI refresh for voice call screen."Eric Erfanian2018-07-1025-110/+61
| | | | | | This reverts commit b6c615dba7609e5134e960a92e723cfeadfbc589. Change-Id: Ibfe295c51323b4e0352098470921ffae114f5c83
* Revert "Fix color for disabled button in voice call."Eric Erfanian2018-07-101-0/+8
| | | | | | This reverts commit 4af5facf5a45bb06beebdba790af2807c39e7649. Change-Id: I3d923cb1cdfb31aa9db4384d554fff3ecbfbe4aa
* Revert "Update style for important call badge."Eric Erfanian2018-07-103-5/+8
| | | | | | This reverts commit 79a9ae7be17c7fe50e6812a47cdd6e7ce5d07966. Change-Id: Ib60e15fba40207884cb2f9d4f0e65fd599b33ae5
* Revert "Change reply with sms to chip."Eric Erfanian2018-07-1010-130/+41
| | | | | | This reverts commit 19e85a54d723bbe23e51bed70df89bd3861570d7. Change-Id: Ic450c3012496a20c67327fc64e6b8a1047ea6995