summaryrefslogtreecommitdiffstats
path: root/java/com/android/incallui/answer
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importMichael Bestas2019-04-071-0/+6
| | | | Change-Id: Ibd3fd71e494d3021e96685e46dae19d5e40b9d68
* Automatic translation importMichael W2019-03-1162-642/+1
| | | | Change-Id: Iafbf0140eee9e17b5644eca94ed373b9a976a039
* Automatic translation importMichael Bestas2019-02-266-66/+0
| | | | Change-Id: I423e1b1cf71017bec08189aa937edbf800877e90
* Automatic translation importMichael Bestas2019-01-1269-0/+805
| | | | Change-Id: Idd711caf52e31bdc9a96ed300974270974c888de
* 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)
* Update RTT icon on ringing screen.wangqi2018-03-011-1/+1
| | | | | | | Bug: 67596257 Test: manual PiperOrigin-RevId: 187551861 Change-Id: I38facbaaa48ba4afe29e382de9c8241d8936c3ab
* Updating PrimaryCallState value class to use AutoValue with builder pattern.Android Dialer2018-02-261-5/+5
| | | | | | | Bug: 34502119 Test: BottomRowTest,CallCardPresenterTest,PrimaryCallStateTest,TopRowTest PiperOrigin-RevId: 187071451 Change-Id: Ib1b4baee397f61eade84bf1a887596dddc37230a
* Updating PrimaryInfo value class to use AutoValue with builder pattern.Android Dialer2018-02-221-8/+8
| | | | | | | Bug: 34502119 Test: BottomRowTest,CallCardPresenterTest,PrimaryInfoTest,TopRowTest PiperOrigin-RevId: 186460178 Change-Id: Ifb90019b6a5568788d51f4a55a07f7693c803eaf
* Add simulator RTT call.wangqi2018-02-225-0/+18
| | | | | | | | | | | 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
* 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
* Remove field prefixes.linyuh2017-12-2717-289/+287
| | | | | | Test: Existing tests PiperOrigin-RevId: 180230450 Change-Id: I0b2589cfeeaef81e42a04efa48af24b4e4d0e95f
* Enable timer in emergency call.wangqi2017-11-292-1/+8
| | | | | | | | | | | "This phone's number: xxx" is shown for emergency call which replaces in call timer. This change move it to under emergency location service so timer could be shown again. Bug: 69810801 Test: manual PiperOrigin-RevId: 177363955 Change-Id: I543fbbee869923800ffd92a5799819b712f0b953
* Stop ringtone when user opens "respond via message" optionroldenburg2017-11-101-0/+3
| | | | | | | | | | | | Ringtone should be stopped if user uses the "respond via message" option because user already notices the incoming call and user just feels the ringtone is noisy. Author: Takeshi Tanigawa <takeshi.tanigawa@sonymobile.com> Bug: 63089671 Test: AnswerFragmentTest PiperOrigin-RevId: 174249368 Change-Id: I2c6353cd662f23c20ac3ce873c38f18e8378b0a9
* Move the functionality of ↵linyuh2017-10-273-10/+8
| | | | | | | | | DialerUtils#getDefaultSharedPreferenceForDeviceProtectedStorageContext(Context) to StorageComponent. Bug: 30224215 Test: none PiperOrigin-RevId: 173612463 Change-Id: Ia89d5d85c31ea2114b196393ae43b803023fc9bf
* Rename the new bubble package name from "bubble" to "newbubble".Eric Erfanian2017-10-242-4/+2
| | | | | | | | It fixes AOSP for package name conflict. Test: manual PiperOrigin-RevId: 173298696 Change-Id: Id10ebe0bcf029e61f65cf6580c7198abd8395081
* Optimization for incoming call latency.wangqi2017-10-123-0/+26
| | | | | | | | | | | | | | | | There are many binder call triggered by IPC on main thread. This change will try to reduce them by caching thing that's bound to a call. It reduce total binder transaction from 1002 to 664 and saves ~11% latency of incoming call on locked screen. 1. Cache isVoiceMailNumber in DialerCall 2. Cache call capable accounts in DialerCall 3. Cache current country iso in DialerCall 4. Don't set orientation change if it's not changed. This change also add lots of trace info. It won't affect release build though since they are stripped out by proguard. Bug: 64542087 Test: manual PiperOrigin-RevId: 171901266 Change-Id: Iec48f030529aa59974212147276f6d0ae121872a
* Implement InCallUiLocktwyen2017-10-094-5/+30
| | | | | | | | | When any locks are acquired, the InCallActivity will not auto-finish when there are no active calls. The disconnected cause and reject with SMS dialogs are migrated to use this API, which prevents the activity form ending before the user has finished interacting with the dialogs. Bug: 64215256 Test: InCallPresenterTest PiperOrigin-RevId: 171362338 Change-Id: Ied07ebbf6bee056ea6b2314c57f3324561b1651a
* Update package assets and strings.Eric Erfanian2017-09-221-3/+3
| | | | | Test: TH Change-Id: I48e807f3eafbc82401b2674a2610b20bf118c275
* Use simulator to add in-call UI integration testssail2017-09-071-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | This CL uses the simulator connection service to perform integration tests for incallui. The main pieces of this CL are: - DialerCallEvent - this is how we track changes to the incallui calls - Simulator.Event - this is how we track changes to a simulator connection With the above two we can do things like: - block until a DialerCall switches from ACTIVE TO ONHOLD: - DialerCallEspresso.waitForNextEvent(tracker, call, new DialerCallEvent(STATE_CHANGE, "ACTIVE", "ONHOLD") - block for a connection to recive a particular DTMF code: - SimulatorConnectionEspresso.waitForNextEvent(call, Event.DTMF) Future CLs will include things like: - fling to answer / reject - conference calls - screenshot diffing - video calling Test: InCallActivityTest PiperOrigin-RevId: 167211015 Change-Id: Ib013b10fe963092fad0816b07b1659efd69d9468
* Lazy loading animation of hd icon.wangqi2017-09-061-0/+3
| | | | | | | | | | This save us ~180ms on Go device. (analyzed by systrace) This change also adds some trace information on incallui. Bug: 64542087 Test: manual PiperOrigin-RevId: 167201182 Change-Id: I0e8549cfb3534d518e3990696616855bcf7733f2
* Update Dialer source to latest internal Google revision.Eric Erfanian2017-08-3198-391/+1512
| | | | | | | | | | | | | | | | | | Previously, Android's Dialer app was developed in an internal Google source control system and only exported to public during AOSP drops. The Dialer team is now switching to a public development model similar to the telephony team. This CL represents all internal Google changes that were committed to Dialer between the public O release and today's tip of tree on internal master. This CL squashes those changes into a single commit. In subsequent changes, changes will be exported on a per-commit basis. Test: make, flash install, run Merged-In: I45270eaa8ce732d71a1bd84b08c7fa0e99af3160 Change-Id: I529aaeb88535b9533c0ae4ef4e6c1222d4e0f1c8 PiperOrigin-RevId: 167068436
* Update Dialer to v10 RC39Eric Erfanian2017-05-23165-330/+166
| | | | | | | | | | | | | | | | | | | This release was created following the instructions at: go/dialer-aosp-release Subsequent dialer releases will follow as O bugs are fixed, until we reach our final RC. Version: 10 Candidate: RC39 Branch: dialer-android_release_branch/153304843.1 dialer-android_20170416.00/dialer-android_20170416.00_RC39 This release contains the following bug fixes since RC32: Bug: 38137349 38249439 38299262 38329114 Test: make Change-Id: I65f695db8aa20902fa60835d58b41cfdfe42704b
* Update Dialer to v10 RC32Eric Erfanian2017-05-152-13/+7
| | | | | | | | | | | | | | | | | | | | | | This release was created following the instructions at: go/dialer-aosp-release Subsequent dialer releases will follow as O bugs are fixed, until we reach our final RC. Version: 10 Candidate: RC32 Branch: dialer-android_release_branch/153304843.1 dialer-android_20170416.00/dialer-android_20170416.00_RC32 This release contains the following bug fixes since RC17: Bug: 33176679 33272455 3646510 36773894 37297649 37413780 37513689 37640315 37680595 37698062 37873639 37901752 37919295 37953423 38062852 38069600 38137349 38173549 38180252 38191514 Test: make, on device Change-Id: I4e4bb630082758e418ff24892b7db3142c6eb09a
* Update Dialer to V10 RC16Eric Erfanian2017-05-04171-265/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release was created following the instructions at: go/dialer-aosp-release Subsequent dialer releases will follow as O bugs are fixed, until we reach our final RC. Version: 10 Candidate: RC16 Branch: dialer-android_release_branch/153304843.1 dialer-android/dialer-android_20170416.00/dialer-android_20170416.00_RC16 This release contains the following bug fixes since RC00: Bug: 37324705 35304403 36067503 35304446 33203808 37280992 37346084 35766990 37481880 37424493 36470282 37347691 37519015 37168472 35805360 37545472 27704934 36515614 35766990 37577470 34739750 35801628 36788693 35264204 36708536 37628370 36904650 37314436 37642171 37530847 37637799 37666625 37548549 37648036 37636412 37323529 37630507 35919141 37198343 37548572 36178218 37640315 37663896 37720467 37275944 37710497 31634477 37744796 37348506 37744796 37568534 37672424 34872683 34873026 37681461 34873295 37748373 37526812 37618638 37663896 37536088 37727455 37165687 36651204 36900708 37323529 36902926 37256480 37328353 37432034 37436952 34093562 37720889 37321935 37780300 37781115 37755902 36588206 34258266 37290464 37698062 37618638 37473004 37432034 37918676 37870494 37722091 Test: make, on device Change-Id: I99e1a484ccd578c1f8a13e7a6a4b4952f0791297
* This change reflects the Dialer V10 RC00 branch.Eric Erfanian2017-05-0312-210/+286
| | | | | | | | | | | | | | | | | | | | RC00 is based on: branch: dialer-android_release_branch/153304843.1 synced to: 153304843 following the instructions at go/dialer-aosp-release. In this release: * Removes final apache sources. * Uses native lite compilation. More drops will follow with subsequent release candidates until we reach our final v10 release, in cadence with our prebuilt drops. Test: TreeHugger, on device Change-Id: Ic9684057230f9b579c777820c746cd21bf45ec0f
* Update AOSP Dialer source from internal google3 repository atEric Erfanian2017-04-0689-259/+266
| | | | | | | | | | | | | | | | | | | cl/152373142. Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/151342913 (3/27/2017) to cl/152373142 (4/06/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: I2fbc88cf6867b90ac8b65f75e5e34468988c7217
* Update AOSP Dialer source from internal google3 repository atEric Erfanian2017-03-2787-342/+183
| | | | | | | | | | | | | | | | | | | cl/151342913. Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/151128062 (3/24/2017) to cl/151342913 (3/27/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: I8d4855628b62e9067e71f32ed40317617a1e3b02
* Update AOSP Dialer source from internal google3 repository atEric Erfanian2017-03-27178-199/+887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | cl/151128062 Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/150756069 (3/21/2017) to cl/151128062 (3/24/2017). Notable this release: - Explicitly enumerate host and target dependencies. - Update proguard flag references. This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Bug: 33210202 36511925 Addresses 33210202 - Proguard support 36511925 - Compiler warnings when building against platform sdk Change-Id: I448ec3b3f2358886859cf7a4ef76a8fcef3244ae
* Update AOSP Dialer source from internal google3 repository atEric Erfanian2017-03-218-14/+442
| | | | | | | | | | | | | | | | | | | cl/150756069 Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/150392808 (3/16/2017) to cl/150756069 (3/21/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: I0888b5db52efb28eb8194600e0c7804592f975f3
* Revert "Update AOSP Dialer source from internal google3 repository at ↵Eric Erfanian2017-03-208-439/+11
| | | | | | | | cl/150622237" This reverts commit 06b6b56e9eaa91ebf757ea641e38a9c885fa40bd. Change-Id: Ida8c5ee67669524dc63b9adc60a6dd392cb9b9a6
* Update AOSP Dialer source from internal google3 repository atEric Erfanian2017-03-208-11/+439
| | | | | | | | | | | | | | | | | | | cl/150622237 Test: make, treehugger, on device testing. This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/150392808 (3/16/2017) to cl/150622237 (3/20/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: Id53e0e580a4ef73760a8afb7bb8c265ee27ad535
* Update AOSP Dialer source from internal google3 repository at cl/150392808Eric Erfanian2017-03-17243-0/+2997
| | | | | | | | | | | | | | | | | | | | | | Test: Treehugger Notable this release: * Reintroduce localization. This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from 3/15/2017 to cl/150392808 (3/16/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: Ia16d68469c2ca1ff42c7fa31d922bdb78c4e244a
* Revert "Update dialer to tap green cl 150332012."Sailesh Nepal2017-03-161-0/+4
| | | | | | This reverts commit 1019500220518fb5fb023fcb7d370ab3cbf12307. Change-Id: Ie6e4f81a995fca7345132b596521b0bd06ceffb9
* Update dialer to tap green cl 150332012.Eric Erfanian2017-03-161-4/+0
| | | | | Test: Treehugger Change-Id: If2baab1d3fc2dee602a4f784bba532182e7174f5
* Update Dialer source from latest green build.Eric Erfanian2017-03-1520-216/+165
| | | | | | | | | * Refactor voicemail component * Add new enriched calling components Test: treehugger, manual aosp testing Change-Id: I521a0f86327d4b42e14d93927c7d613044ed5942
* Update dialer sources.Eric Erfanian2017-03-0196-0/+9118
Test: Built package and system image. This change clobbers the old source, and is an export from an internal Google repository. The internal repository was forked form Android in March, and this change includes modifications since then, to near the v8 release. Since the fork, we've moved code from monolithic to independent modules. In addition, we've switched to Blaze/Bazel as the build sysetm. This export, however, still uses make. New dependencies have been added: - Dagger - Auto-Value - Glide - Libshortcutbadger Going forward, development will still be in Google3, and the Gerrit release will become an automated export, with the next drop happening in ~ two weeks. Android.mk includes local modifications from ToT. Abridged changelog: Bug fixes ● Not able to mute, add a call when using Phone app in multiwindow mode ● Double tap on keypad triggering multiple key and tones ● Reported spam numbers not showing as spam in the call log ● Crash when user tries to block number while Phone app is not set as default ● Crash when user picks a number from search auto-complete list Visual Voicemail (VVM) improvements ● Share Voicemail audio via standard exporting mechanisms that support file attachment (email, MMS, etc.) ● Make phone number, email and web sites in VVM transcript clickable ● Set PIN before declining VVM Terms of Service {Carrier} ● Set client type for outbound visual voicemail SMS {Carrier} New incoming call and incall UI on older devices (Android M) ● Updated Phone app icon ● New incall UI (large buttons, button labels) ● New and animated Answer/Reject gestures Accessibility ● Add custom answer/decline call buttons on answer screen for touch exploration accessibility services ● Increase size of touch target ● Add verbal feedback when a Voicemail fails to load ● Fix pressing of Phone buttons while in a phone call using Switch Access ● Fix selecting and opening contacts in talkback mode ● Split focus for ‘Learn More’ link in caller id & spam to help distinguish similar text Other ● Backup & Restore for App Preferences ● Prompt user to enable Wi-Fi calling if the call ends due to out of service and Wi-Fi is connected ● Rename “Dialpad” to “Keypad” ● Show "Private number" for restricted calls ● Delete unused items (vcard, add contact, call history) from Phone menu Change-Id: I2a7e53532a24c21bf308bf0a6d178d7ddbca4958