summaryrefslogtreecommitdiffstats
path: root/java/com/android/dialer
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importlineage-16.0Michael W2020-03-28153-165/+250
| | | | Change-Id: I6a0033918f40f3f826feebf9eeecc7cf6f25127f
* Automatic translation importMichael W2020-03-231-0/+4
| | | | Change-Id: I2fce182434485a96f4b1a4a4316c80e2d1ac4e9a
* Automatic translation importMichael W2020-01-192-0/+50
| | | | Change-Id: I98d8e4bc06f132511938f71d1e8eccabf19504b9
* Enable call recording for Iranmhkjahromi2019-12-091-0/+23
| | | | Change-Id: I5640405d9bd38ac3d83fd618543190c1b0d800fb
* Enable call recording for ChinaHan Wang2019-11-211-6/+20
| | | | | Change-Id: Id51a2e6a119e99ff50696b50513aed323c61565c (cherry picked from commit 2785932ca3816be9214e5757b3a312f3869d53a7)
* Base 'call recording allowed' decision on current country.Danny Baumann2019-11-1186-3061/+1287
| | | | | | | | | 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
* Enable Call Recording for Sri Lanka and Costa Rica.Arekusu Rin2019-09-054-2/+66
| | | | | | | * 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
* Automatic translation importMichael Bestas2019-08-252-0/+33
| | | | Change-Id: I4045acf69a0979e4f063d1d04281736a0c4c4b0f
* Automatic translation importMichael Bestas2019-08-048-0/+215
| | | | Change-Id: Iaf501ed04feed5b769d55d413e8b146a8a07fa0e
* Automatic translation importMichael Bestas2019-07-0661-1159/+0
| | | | Change-Id: Iffd2b4c82e32f64c9118843df076288234825d17
* Automatic translation importMichael Bestas2019-06-194-0/+61
| | | | Change-Id: I16d015e7cbe4dc0efc1b20427ecb055ec4b9c86c
* Enable or disable call recording for numerous countries via MCC.Arekusu Rin2019-06-1183-114/+2417
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Automatic translation importMichael Bestas2019-06-0813-14/+175
| | | | Change-Id: I4372a526d61822e1db9fd4d6dd78fd5b8a240d7e
* Automatic translation importMichael Bestas2019-04-0751-7/+1336
| | | | Change-Id: Ibd3fd71e494d3021e96685e46dae19d5e40b9d68
* Automatic translation importMichael W2019-03-111027-28782/+287
| | | | Change-Id: Iafbf0140eee9e17b5644eca94ed373b9a976a039
* Automatic translation importMichael Bestas2019-02-2679-1939/+147
| | | | Change-Id: I423e1b1cf71017bec08189aa937edbf800877e90
* Automatic translation importMichael Bestas2019-01-121211-0/+40969
| | | | Change-Id: Idd711caf52e31bdc9a96ed300974270974c888de
* res: Fix malformed XMLBruno Martins2018-10-231-1/+1
| | | | | | | * The legal precedent source URL includes double dashes and breaks aapt2 compilation. Replace it by a shortened one. Change-Id: Ic1cb1b6af16d27649e36478ca7597b78b93b1338
* Allow call recording for Bulgaria.Arekusu Rin2018-10-231-1/+4
| | | | | | | | | | * 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)
* Allow call recording for BelgiumAlexandre Pary2018-10-171-1/+4
| | | | | | * Call recording is legal in Belgium, so it should be available in the UI Change-Id: I0d18c5c31aa5fbde08a849932ac0c8088508dbd8
* Allow call recording for AustriaMarkus Gruber2018-10-131-1/+4
| | | | | | * Call recording is legal in Austria, so it should be available in the UI Change-Id: Iaae0b222d2a1108572832732471e7e063f84dd1f
* Re-add call statistics.Danny Baumann2018-09-0134-14/+3559
| | | | Change-Id: I9f2b6e912ca69a5aa7a1790bed06304ee953e752
* Allow per-call account selection.Danny Baumann2018-09-0114-26/+252
| | | | Change-Id: Ieac27294f4069b2cff17bb39a0954f74320ad943
* Re-add call recording.Danny Baumann2018-09-0152-7/+1492
| | | | Change-Id: I53fadf5754b5b6cc3e9920d57480e470e2305ac0
* Add setting to enable Do Not Disturb during callsblunden2018-09-013-0/+44
| | | | | | | | 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 categoryblunden2018-09-013-16/+30
| | | | | | | | | Rename it to "In-call" and adjust the preference hiding code accordingly. Turn checkboxes into switches for more consistency. Change-Id: If22a58b4f82e3db59373e53da0632c126bd946f4
* Dialer: comply with EU's GDPRJoey2018-09-014-6/+10
| | | | | | | Disable lookup by default and add a disclaimer for the feature Change-Id: If7a181952304dbaee736762bdfd5819eddc5f89b Signed-off-by: Joey <joey@lineageos.org>
* Re-add dialer lookup.Xiao-Long Chen2018-09-0136-1/+4014
| | | | | | BUGBASH-612: do not send phone numbers to non-ssl sites for reverse/forward/people lookups Change-Id: I677460ad5767b8698ee24d6d43ff159aee55387a
* Add back in-call vibration featuresDanny Baumann2018-09-013-1/+53
| | | | Change-Id: Ia30a3c46e9c37d7d73288ec605af8efc3a46a323
* Revert "Remove dialer sounds and vibrations settings fragments and redirect ↵Danny Baumann2018-09-012-15/+248
| | | | | | | | | | | 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: handle database upgrade from cm-14.1Dan Pasanen2018-09-011-3/+3
| | | | Change-Id: Iaf212538d01d1e6400ea0e4fb54b3d414e983f40
* Dialer: adaptive iconAsher Simonds2018-08-2816-0/+20
| | | | | Change-Id: Ice040bb2785e8e4e3828c6008121520586d269ac Signed-off-by: Joey <joey@lineageos.org>
* Added impression logging for AnnotatedCallLog rebuild operations.zachh2018-03-023-13/+65
| | | | | | | Bug: 70989667 Test: unit PiperOrigin-RevId: 187694255 Change-Id: Ie6ec70a70a4c59cbdfe25c34003d21fa2f751564
* Added timing to some more AnnotatedCallLog operations.zachh2018-03-027-17/+179
| | | | | | | | | | | | | | | | | This includes: 1) Made RefreshAnnotatedCallLogWorker.refresh() methods return a result which is "not dirty", "dirty but no changes needed" or "dirty and changes need". It will be interesting to see how often these cases occur (will log impressions in a future CL) so I thought we might as well log the latency of each case separately as well. 2) To support 1) added a new method to FutureTimer which allows you to compute the event name from the result of the timed Future. Also needed to update the Metrics interface to support deferring the event name when starting a timer via a generic token. 3) Timing the coalesce operation which is very heavyweight. 4) Made StubMetrics do some logcat logging to easily observe timing information using AOSP Bug: 70989667 Test: unit PiperOrigin-RevId: 187691203 Change-Id: I5f19a2fc94d86639486299b65b0edd66eeaab52e
* Move assisted dialing out of P.erfanian2018-03-024-24/+4
| | | | | | | Bug: 73727182 Test: tested PiperOrigin-RevId: 187673539 Change-Id: I9c790e912990fb8dc46da1c1057339c979ac9501
* Remove voicemail instruction textmaxwelb2018-03-023-37/+0
| | | | | | | Bug: 74028377 Test: Manual :/ PiperOrigin-RevId: 187634587 Change-Id: I51be6c151db37988bd68558a6af8c2bab31939a1
* Remove dialer sounds and vibrations settings fragments and redirect to the ↵uabdullah2018-03-022-248/+15
| | | | | | | | | | | system sound settings fragment instead. There is no need for dialer to have it's own sounds and vibrations fragment. Instead of maintaining two separate fragments that do that same thing (and have to be kept in sync), we can just have one source of truth and have users modify those settings. Thus we have removed the dialer and vibrations settings fragment and have it instead re-direct to the system sound settings. The automatic advantage of this is also that for dual sim cases, dialer settings don't need to be updated. Bug: 73750524 Test: Manual. Navigated to the dialer sound and settings fragment, and it opened the system settings. Also pressing back took us back to Dialer as expected. PiperOrigin-RevId: 187564461 Change-Id: I7d620721237f1c932ed8cea949486ae7dbdefba1
* Use voicemail image for empty voicemail tab and update coloruabdullah2018-03-014-2/+28
| | | | | | | | | This CL updates the icon for the empty voicemail tab and updates the tint of it as well. It also updates the size of the voicemail icon when in landscape mode. Bug: 25661977,74085541 Test: N/A PiperOrigin-RevId: 187557890 Change-Id: Ic19643f4e63e3ce70ba6b029ce45a570404f28e7
* Implemented DialerFloatingActionButtoncalderwoodra2018-03-013-1/+85
| | | | | | | | | | | | | Implemented wrapper class for FloatingActionButton to resolve some of FloatingActinButton's many issues. One of which is alllowing clicks while animating that was causing a crash in NUI. This change also fixes an issue with the dialpad exit animation. Bug: 73995512 Test: Robolectric and Espresso don't support these kinds of tests very well PiperOrigin-RevId: 187556390 Change-Id: I4cb7c2346a0ef09f2f3d8b48e7e14d01460cd1a7
* Instead of just cancelling loaders, reset them as well.calderwoodra2018-03-011-1/+4
| | | | | | | Bug: 71385186 Test: manual PiperOrigin-RevId: 187552834 Change-Id: If4e1f7c18d5f5aae2a152762189948c3543ba321
* Disable phone number formatting for devices with Argentinian SIMs.linyuh2018-03-0113-30/+56
| | | | | | | Bug: 73718977 Test: PhoneNumberHelperTest PiperOrigin-RevId: 187540382 Change-Id: I814ec62b2215c24b8cde3442c5dc83d98ad87164
* Rename NUI logging prefix from NUI_ to MAIN_yueg2018-03-013-28/+29
| | | | | | | Bug: 72525843 Test: none PiperOrigin-RevId: 187500135 Change-Id: Iaa73b9355a6b5c299f73fd113eb1f74a3eb47dd4
* Added same primes metrics that existed in Dialtacts to NUI.calderwoodra2018-03-012-0/+13
| | | | | | Test: n/a PiperOrigin-RevId: 187442952 Change-Id: I9463e2c976102276ebc5886531397ad0cf160b78
* Preload call log fragment on app start.calderwoodra2018-02-281-0/+12
| | | | | | | | | Default is set to true but if we see issues with startup latency we can disable this server side. Test: n/a PiperOrigin-RevId: 187419851 Change-Id: I6d1debfed86dbcaf3ee73ec0906e514a2687e2c0
* Some small bug fixes in NUI.calderwoodra2018-02-286-22/+49
| | | | | | | | | | | | | | - Never show the dialpad chooser in MainActivity. - If the call log changed while dialer was in the background, it would trigger the content observer to fetch the new info, which would request it's parent that wasn't there. Now we register/unregister them in onResume/onPause. This is safe to do because we force refresh the data onResume anyways, so any changes will still be shown. Bug: 73972084,73975555,73995512 Test: manual PiperOrigin-RevId: 187407058 Change-Id: Iae86dabbcb852398bb2b9df4627e234261ab8030
* Log contact source when reporting spam from the new UI.linyuh2018-02-287-6/+51
| | | | | | | Bug: 73780748 Test: PhoneLookupInfoConsolidatorTest PiperOrigin-RevId: 187404074 Change-Id: I1db81304909fbf63aba00088c12e18922042c3b1
* Add accessibility label for voicemail transcription ratingmaxwelb2018-02-282-0/+10
| | | | | | | Bug: 73788896 Test: Manual :/ PiperOrigin-RevId: 187401558 Change-Id: I1c2c08cc01fd38ad5820c454991473cfb8f0fc76
* Parity of OldMainActivityPeer with ListsFragment for VMuabdullah2018-02-282-3/+90
| | | | | | | | | This CL helps to ensure that when the VVM settings toggle is turned on or off, or a sim is swapped, inserted or removed the VM tab disappears and appears, just like it currently does. When a VM tab disappears we also move to the speed dial index. Bug: 73123614,73998717 Test: N/A PiperOrigin-RevId: 187400703 Change-Id: I76a0b43da86713caa67956413a39299c7ecbc8d1
* Show empty view when there are no voicemailsuabdullah2018-02-284-12/+61
| | | | | | | | | When there are no voicemails to be shown, we show an empty view. This is done by hiding the recycler view and showing the empty view. Similarly when a voicemail is present, we hide the empty view and then show the recycler view. Bug: 25661977 Test: Unit Tests PiperOrigin-RevId: 187396952 Change-Id: Ifa718fb05c1be37aabdf4c91bc2c1653357565b2
* Never start playing voicemails in the NUI VM tab from the speakeruabdullah2018-02-281-0/+9
| | | | | | | | | All voicemails played from the VM tab should always be played from the non-speaker mode. Bug: 71500892 Test: N/A PiperOrigin-RevId: 187388964 Change-Id: I3f6a5887784b0192074157cfd8a91727d124ed06