summaryrefslogtreecommitdiffstats
path: root/java/com/android/incallui
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importlineage-16.0Michael W2020-03-2842-40/+94
| | | | Change-Id: I6a0033918f40f3f826feebf9eeecc7cf6f25127f
* Base 'call recording allowed' decision on current country.Danny Baumann2019-11-112-2/+58
| | | | | | | | | 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
* Automatic translation importMichael Bestas2019-08-251-0/+27
| | | | Change-Id: I4045acf69a0979e4f063d1d04281736a0c4c4b0f
* Automatic translation importMichael Bestas2019-08-041-0/+26
| | | | Change-Id: Iaf501ed04feed5b769d55d413e8b146a8a07fa0e
* Automatic translation importMichael Bestas2019-07-0620-380/+0
| | | | Change-Id: Iffd2b4c82e32f64c9118843df076288234825d17
* Automatic translation importMichael Bestas2019-06-191-0/+19
| | | | Change-Id: I16d015e7cbe4dc0efc1b20427ecb055ec4b9c86c
* Automatic translation importMichael Bestas2019-06-081-0/+1
| | | | Change-Id: I4372a526d61822e1db9fd4d6dd78fd5b8a240d7e
* Dialer: AudioModeProvider: use wired route for usb headsetscodeworkx2019-05-111-0/+1
| | | | Change-Id: I920a9c259af5597dfd9a88a72e4ac54cb6e73f7a
* Automatic translation importMichael Bestas2019-04-0711-1/+272
| | | | Change-Id: Ibd3fd71e494d3021e96685e46dae19d5e40b9d68
* Automatic translation importMichael W2019-03-11338-8122/+35
| | | | Change-Id: Iafbf0140eee9e17b5644eca94ed373b9a976a039
* Automatic translation importMichael Bestas2019-02-2633-716/+61
| | | | Change-Id: I423e1b1cf71017bec08189aa937edbf800877e90
* Automatic translation importMichael Bestas2019-01-12403-0/+10525
| | | | Change-Id: Idd711caf52e31bdc9a96ed300974270974c888de
* Control dialer's incoming call proximity sensor check via an overlayblunden2018-09-062-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 recording.Danny Baumann2018-09-0118-5/+593
| | | | Change-Id: I53fadf5754b5b6cc3e9920d57480e470e2305ac0
* Add setting to enable Do Not Disturb during callsblunden2018-09-013-0/+92
| | | | | | | | 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
* Add back in-call vibration featuresDanny Baumann2018-09-013-0/+158
| | | | Change-Id: Ia30a3c46e9c37d7d73288ec605af8efc3a46a323
* Dialer: disable anti-falsing for call answer screenAdrian DC2018-09-011-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)
* Move assisted dialing out of P.erfanian2018-03-021-23/+1
| | | | | | | Bug: 73727182 Test: tested PiperOrigin-RevId: 187673539 Change-Id: I9c790e912990fb8dc46da1c1057339c979ac9501
* Update fragment class.erfanian2018-03-022-2/+2
| | | | | | | Bug: 73775453 Test: unit tests. PiperOrigin-RevId: 187630263 Change-Id: Ib8e1b852b4ab4ca6614182db0cb72e413c1612eb
* Add ripple effect to RTT incall buttons.wangqi2018-03-022-5/+15
| | | | | | | Bug: 67596257 Test: manual PiperOrigin-RevId: 187564625 Change-Id: I7e848e975bbab19e605d09283dee24eeb02550f1
* Update RTT icon on ringing screen.wangqi2018-03-011-1/+1
| | | | | | | Bug: 67596257 Test: manual PiperOrigin-RevId: 187551861 Change-Id: I38facbaaa48ba4afe29e382de9c8241d8936c3ab
* Disable phone number formatting for devices with Argentinian SIMs.linyuh2018-03-017-16/+17
| | | | | | | Bug: 73718977 Test: PhoneNumberHelperTest PiperOrigin-RevId: 187540382 Change-Id: I814ec62b2215c24b8cde3442c5dc83d98ad87164
* Implement overflow menu for RTT call.wangqi2018-03-0110-3/+462
| | | | | | | Bug: 67596257 Test: manual PiperOrigin-RevId: 187529383 Change-Id: I6ef6593a79ef0c4fb407284eede966a1eaabcd1e
* Updating SecondaryInfo value class to use AutoValue with builder pattern.Android Dialer2018-03-017-83/+102
| | | | | | Test: CallCardPresenterTest,SecondaryInfoTest PiperOrigin-RevId: 187481728 Change-Id: I3d2b23b5d51ea1e5ff30b8f6b6570d76c006fe86
* Remove background of RTT chat fragment.wangqi2018-02-281-2/+1
| | | | | | | | | The default incall gradiant background will be shown instead. Bug: 67596257 Test: manual PiperOrigin-RevId: 187384455 Change-Id: Icf91804d78aa98d051248a9eca0d13be0ea880f0
* Move DirectoryCompat from "contacts/common" to "dialer/common/cp2".linyuh2018-02-271-1/+1
| | | | | | | Bug: 73887387 Test: Existing tests PiperOrigin-RevId: 187225355 Change-Id: I65de553078e147a46d933daf34dfd912fc8aa74c
* Fix bug that soft keyboard pushes action bar out of window.wangqi2018-02-272-3/+3
| | | | | | | | | This is happening on outgoing call. Bug: 67596257 Test: manual PiperOrigin-RevId: 187207221 Change-Id: I09e8be0dbad695a1a5afb64e08faf533d068e5c4
* Updating PrimaryCallState value class to use AutoValue with builder pattern.Android Dialer2018-02-269-202/+247
| | | | | | | Bug: 34502119 Test: BottomRowTest,CallCardPresenterTest,PrimaryCallStateTest,TopRowTest PiperOrigin-RevId: 187071451 Change-Id: Ib1b4baee397f61eade84bf1a887596dddc37230a
* Implement logic of bottom sheet options related to spam numbers.linyuh2018-02-261-1/+1
| | | | | | | Bug: 70989605 Test: ShowBlockReportSpamDialogNotifierEndToEndTest + Manual PiperOrigin-RevId: 187047450 Change-Id: I23c3929135bcfe5c14fe317ef65f628dc126027f
* Track initial call log building metrics separately from incremental building ↵zachh2018-02-231-1/+3
| | | | | | | | | | | | | metrics. This required creating "CallLogState" which is currently just a boolean value which can only be turned on once (when the annotated call log flow finishes for the first time). This CL also changes CompositePhoneLookup to no longer implement PhoneLookup. This was done to support a now reverted implementation of CallLogState but it's easier for me to keep the change and it shouldn't be harmful. Bug: 70989667 Test: unit PiperOrigin-RevId: 186852257 Change-Id: I3f342737aaf909f8230b8a69d9c21e6e5c19b84e
* Fix bugs of RTT chat.wangqi2018-02-232-17/+10
| | | | | | | | | | 1. send bubble break characters to remote 2. correctly handle text replacement Bug: 67596257 Test: RttChatMessageTest PiperOrigin-RevId: 186850402 Change-Id: I0aebb0f4315a021da1463d7903d28e912918efca
* Fix bug in isVoicemailNumber method not returning earlyroldenburg2018-02-221-0/+2
| | | | | | | Bug: 72997695 Test: existing tests, LoggerUtilsTest, placed call to voicemail and verified PiperOrigin-RevId: 186677560 Change-Id: I63d0a463f890c8cc1a301daa37388f58aed33aae
* Updating PrimaryInfo value class to use AutoValue with builder pattern.Android Dialer2018-02-229-187/+212
| | | | | | | Bug: 34502119 Test: BottomRowTest,CallCardPresenterTest,PrimaryInfoTest,TopRowTest PiperOrigin-RevId: 186460178 Change-Id: Ifb90019b6a5568788d51f4a55a07f7693c803eaf
* Moved metrics related methods out of LoggingBindings.zachh2018-02-222-12/+19
| | | | | | Test: existing PiperOrigin-RevId: 186413083 Change-Id: I96c88c46b0ecc01167b655fa30fc47aaa6a9e351
* Implement read/write text stream to RttCall.wangqi2018-02-227-14/+170
| | | | | | | | | | | | This change also: 1. Add simulator support of RTT request during call (always accept at this moment, will add random accept/decline in the future) 2. Fix bugs of putting RTT call in background and back to call Bug: 67596257 Test: Simulator PiperOrigin-RevId: 185920527 Change-Id: I51016fa6cf1ccc8a5a21335f9dacf286ae393706
* Annotate RTT as @TargetApi(28).wangqi2018-02-221-0/+2
| | | | | | | Bug: 67596257 Test: lint tests PiperOrigin-RevId: 185912566 Change-Id: I281fbd62865c9de150c3e2a7a3ea79c3eb85c529
* Move RttChatBot to simulator.wangqi2018-02-223-79/+27
| | | | | | | Bug: 67596257 Test: none PiperOrigin-RevId: 185561470 Change-Id: I96755cc76e2a1cba65cd496d74593cdd1dedddae
* Update RTT call with real name/number and timer.wangqi2018-02-221-20/+20
| | | | | | | Bug: 67596257 Test: manual PiperOrigin-RevId: 185561269 Change-Id: I81bdf379dd2411540c012df40dc0461f31aca9ea
* Add simulator RTT call.wangqi2018-02-2221-144/+544
| | | | | | | | | | | This change will also: 1. Disable proximity sensor for RTT call 2. Update RTT call screen, including colors and banner buttons Bug: 67596257 Test: presubmit PiperOrigin-RevId: 185541897 Change-Id: I571373efbb8ced4ee2ad94879e9d37bed33b6a28
* Update title of after call spam dialog.wangqi2018-02-091-1/+1
| | | | | | | Bug: 73136533 Test: none PiperOrigin-RevId: 185160539 Change-Id: I43cc987c646a13d1d012415c0869780317dcb7b8
* Finish AudioRouteSelectorActivity when all calls disconnect.yueg2018-02-092-16/+48
| | | | | | | Bug: 67605985 Test: AudioRouteSelectorActivityTest PiperOrigin-RevId: 185069195 Change-Id: Icae34dd6374a775c3ad5d3835750bd2fe703dfa0
* Show reject hint text for all incoming callswangqi2018-02-091-2/+1
| | | | | | | | | | | | | | | | The function setHintText sets the hint text reject text to null when hintText for answering a call is non-null. Correcting so the reject text is always be set to call_incoming_swipe_to_reject regardless of the value of hintText. This is an upstream change from: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/612667 Bug: 73018780 Test: manual PiperOrigin-RevId: 185020322 Change-Id: I413f8cf63a1b11e70300536a13c1a8a103d847cc
* Bubble layout change.yueg2018-02-061-10/+3
| | | | | | | | | | - Flip back-to-call button icon. - Use different button height for portrait and landscape. In order to make it work, we also create new ViewHolder object when bubble shows and remove reset() when bubble hides. Bug: 67605985 Test: NewBubbleImplIntegrationTest, NewBubbleImplTest, NewReturnToCallControllerTest PiperOrigin-RevId: 184768224 Change-Id: If4e613b12e39c647c34f4cb63a7f934043d42ec7
* Remove bubble v1.yueg2018-02-056-437/+2
| | | | | | | Bug: 67605985 Test: manual PiperOrigin-RevId: 184358120 Change-Id: I17288da2b059f18bd51247e27aa174c7994e6f05
* Update the SpeakEasy component.erfanian2018-02-027-100/+71
| | | | | | Test: unit tests PiperOrigin-RevId: 184352489 Change-Id: If3f2414dd9769dc54035c7fcf5afe925af3006db
* Update text on after call spam notification and dialog.wangqi2018-02-024-35/+34
| | | | | | | | | | | | This change also includes: 1. Fixes formatting of phone number in the dialog. 2. Remove body text if the dialog. 3. Update to material design dialog style. Bug: 72120616 Test: manual PiperOrigin-RevId: 184350133 Change-Id: I8bdd9c792877822fe18ba6aae6c04136a603dbba
* internal changeAndroid Dialer2018-02-013-8/+19
| | | | | | | Bug: 68825005 Test: Added unit tests on CallFeedbackListenerImpl, CallFeedbackNotificationManager and DialerCall. Also manually verified the change. PiperOrigin-RevId: 184211115 Change-Id: I50927036c3cd5d47862704376e2eef108c473fbf
* This text is for dismiss button in dialog that's to dismiss the dialog afterwangqi2018-02-011-2/+2
| | | | | | | | | a call, instead of to hang up the call. Bug: 72120616 Test: none PiperOrigin-RevId: 184162123 Change-Id: I20dbdb258ad0640fa4ed8cf6492549ba9c62eda6
* Add arrow icon to bubble sound button when Bluetooth is connected.yueg2018-01-311-0/+4
| | | | | | | | | It's an indicator that the button triggers another list. Bug: 67605985 Test: manual PiperOrigin-RevId: 184042869 Change-Id: I3fea526a322dcc3935af111ebd0916b7c5ffcb24
* Remove bubble from AOSP.yueg2018-01-311-2/+25
| | | | | | | Bug: 67605985 Test: NewBubbleImplTest, NewBubbleImplIntegrationTest, NewReturnToCallControllerTest PiperOrigin-RevId: 184026033 Change-Id: Ie141ce9a0265ce3a08c01943cdeb94e2cd962e9f