summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/answer
Commit message (Collapse)AuthorAgeFilesLines
* Fix unnatural animation while move up "Swipe down to reject"Nishizawa Nobuhiro2022-09-291-4/+15
| | | | | | | | | | | | | | | | | | | The animation of "Swipe down to reject" moves unnaturally from third times at receiving screen. It moves upward suddenly when the third bounce animation starts. This behavior occurs for "Swipe down to reject" does not have animation which is moving up in bounce animation. So, the start position of its animation is not initialized. This patch adds the animation which is moving up to "Swipe down to reject". Test: manual - Check that "Swipe down to reject" moves like the animation of the first time and second time, it looks naturally. Bug: 110440654 Google: 707405 Change-Id: Id8eafa2daf1ebb5de10eb3bca42c5d311862558b Change-Id: I8d819cfef4204b6e6300f6746bf85862d69b8b02
* Dialer: Update full screen photo iconsHikari-no-Tenshi2022-09-131-2/+2
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: If14edd968792f13034391707436d29283a990df1
* Improve contatcts layoutDennySPB2022-09-131-5/+7
| | | | | | | | added custom TextAutoResizer Change-Id: I257c7db64972e5a502f6e2eacd01ebebb7e106a6 Signed-off-by: DennySPB <dennyspb@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Dialer: Add ability to set full screen photos for callsAlexey Derendyaev2022-09-135-6/+246
| | | | | | | syberia: forward port to 10 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I90ee1c30f7ab248e9fdb8b94d33434c23b327389
* Dialer: disable anti-falsing for call answer screenAdrian DC2022-09-061-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)
* Merge "Update language to comply with Android's inclusive language guidance" ↵Tyler Gunn2020-07-301-1/+1
|\ | | | | | | | | | | | | | | am: 237d9b014c am: 45595d4753 am: 6b570f82d5 am: 67f41e0c8b am: 05e824b3e2 Original change: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/1378558 Change-Id: Iac5cc419e476d7b037618dfa92803966b27bbbf8
| * Update language to comply with Android's inclusive language guidanceTyler Gunn2020-07-291-1/+1
| | | | | | | | | | | | | | | | See https://source.android.com/setup/contribute/respectful-code for reference Test: Presubmit Bug: 161896447 Change-Id: I2cd36fd5148608caec816c159c1b5d6bfbe192bc
| * 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
* | Add an exported flag in manifestAshwini Oruganti2020-05-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for future versions. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: Ie488088abaa55ff7f83bc93bb126323ad3885ab3
* | Require unlock for custom SMS dialogBryan Ferris2019-09-111-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
* Update translation strings.Eric Erfanian2018-07-10246-4264/+2706
| | | | | Test: make Change-Id: Ib75f4f25e91067311de244d7f1fb95bc898aec22
* Revert "UI refresh for ringing screen."Eric Erfanian2018-07-104-1/+33
| | | | | | This reverts commit 36d5b93da4f93e50deb496daa5ad820c48aa7b01. Change-Id: I533bc3f7d592a6e257d184f0d3730b4be95f2af2
* Revert "Update style for important call badge."Eric Erfanian2018-07-102-4/+7
| | | | | | This reverts commit 79a9ae7be17c7fe50e6812a47cdd6e7ce5d07966. Change-Id: Ib60e15fba40207884cb2f9d4f0e65fd599b33ae5
* Revert "Change reply with sms to chip."Eric Erfanian2018-07-104-113/+23
| | | | | | This reverts commit 19e85a54d723bbe23e51bed70df89bd3861570d7. Change-Id: Ic450c3012496a20c67327fc64e6b8a1047ea6995
* Revert "Update emergency call map and device number UI."Eric Erfanian2018-07-101-2/+5
| | | | | | This reverts commit 20f8f6018e0f80083ebbabb43965ec19996d5f87. Change-Id: I170c7dff3dff788bf12e9572195ddb3453f058bb
* Revert "UI refresh for reply with sms bottom sheet."Eric Erfanian2018-07-101-8/+5
| | | | | | This reverts commit 27d7f0a5a307c15dee5a048ec36ca256fa90d1bd. Change-Id: I492d6039813499517ca2243b0e04bfea3d957233
* UI refresh for reply with sms bottom sheet.wangqi2018-06-291-5/+8
| | | | | | | Bug: 79878432 Test: manual PiperOrigin-RevId: 202678951 Change-Id: I89cf9dc7ec78f2b6bd10889d50d3c9a139168bca
* Remove redundant @TargetApi, @RequiresApi and @SuppressWarningslinyuh2018-06-281-3/+0
| | | | | | Test: Existing tests PiperOrigin-RevId: 202589482 Change-Id: I6982e4069d30032bf46caf3c9984dfc0e7196f6f
* Update emergency call map and device number UI.wangqi2018-06-271-5/+2
| | | | | | | Bug: 79878432 Test: manual PiperOrigin-RevId: 202228927 Change-Id: Ia68d3b1366a36ba5bdde85049b1b23ca98495ed1
* Change reply with sms to chip.wangqi2018-06-264-23/+113
| | | | | | | Bug: 79878432 Test: manual PiperOrigin-RevId: 202022343 Change-Id: I7239b13e53a537e20af4b2684a53108aeea16025
* Update style for important call badge.wangqi2018-06-262-7/+4
| | | | | | | Bug: 79878432 Test: manual PiperOrigin-RevId: 201764305 Change-Id: I09d0df697c4eb93a732053280fe4b79513ebfe75
* UI refresh for ringing screen.wangqi2018-06-214-33/+1
| | | | | | | Bug: 79878432 Test: manual PiperOrigin-RevId: 201608196 Change-Id: Idff45359c5ddf3dacbeb77b103d3b53d3bf34334
* Update a few interfaces.erfanian2018-06-054-86/+18
| | | | | | | Bug: 73773964 Test: unit PiperOrigin-RevId: 199362698 Change-Id: I4b0ab4a3c07ad8fa206753c4826b42037b8a06be
* Inlined ConfigProviderBindings.get() and removed ConfigProviderBindings.zachh2018-06-013-7/+13
| | | | | | | | | It no longer provides any value, so just use dagger directly. Bug: 80441695 Test: tap PiperOrigin-RevId: 198806461 Change-Id: Id607abb65b77633bce511ad0c943ac19453a85d5
* Update button color.erfanian2018-06-011-2/+2
| | | | | | Test: nope PiperOrigin-RevId: 198596861 Change-Id: Ibc2cccdcb7b02b5ba8b79f5429babc9028f282d8
* Some minor tweaks to the UI.calderwoodra2018-06-011-2/+2
| | | | | | | Bug: 79883035 Test: tap PiperOrigin-RevId: 198510062 Change-Id: Ia07624a4511626b2b397199f3674817612557133
* Some improvements to the answer fragment layouts.erfanian2018-05-303-37/+117
| | | | | | Test: unit PiperOrigin-RevId: 198080186 Change-Id: I0ecc1f918b2c62e42b287e4fc9ea38fafaf1e6c9
* Began implementation of Dialer dark theme.calderwoodra2018-05-292-1/+2
| | | | | | | | | | | | - README on how to properly theme Dialer going forward. - Migrated all widgets to use global colors. - Removed all activity and application themes where it wasn't necessary. - Added themeing test rule for Espresso tests. Bug: 79883035 Test: tap PiperOrigin-RevId: 197634256 Change-Id: I4b7d94d45aeeb59d484b0069fdd1e200a654910b
* Implement a global theme to be easily configured in Dialer.calderwoodra2018-05-211-1/+1
| | | | | | | | | | | | | | | deleted several colors and unified them across the app migrated several alert dialogs to support alert dialogs added many todos migrated several tests from GoogleRobolectricTestRunner to RobolectricTestRunner Because of the test migration: - moved dialpad theme attributes into dialpad/theme - moved incall ui theme attributes into incallui/theme Bug: 79883035 Test: tap PiperOrigin-RevId: 197246477 Change-Id: Ifc534793bc32757bbbf2007a7c40287c8d0817ad
* A11y: group caller information together.wangqi2018-05-191-0/+1
| | | | | | | Bug: 79723777 Test: manual PiperOrigin-RevId: 197245874 Change-Id: Iad639ef467c8d0db861dddb7a174355127b8636c
* Use component for iconographyerfanian2018-05-151-1/+8
| | | | | | Test: tap, manual PiperOrigin-RevId: 196582079 Change-Id: Iffbfa408cbb32e81824cd46a67d51baa270132cf
* Move DialerCall.State to an independent package.wangqi2018-04-281-5/+5
| | | | | | | | | This refactoring will remove dependency on incall/call package for those classes only dependent on DialerCall.State. The benefit is to remove unnecessary dependency and avoid potential loop dependency in the future. Test: presubmit PiperOrigin-RevId: 194594382 Change-Id: I6b3241bcf10a0a15c495c3c90a13f174c32e3f72
* Replace png icons with vector drawable for video call screen.wangqi2018-03-291-1/+1
| | | | | | | Bug: 76221932 Test: manual PiperOrigin-RevId: 190948113 Change-Id: I4151ab3fc5231183d49fc1bdc247a09e5ffadc22
* Replace assets "quantum_ic_videocam_white_24" with a vector asset.linyuh2018-03-281-1/+1
| | | | | | Test: Existing tests PiperOrigin-RevId: 190820867 Change-Id: I4835bcbc7698075fb54015dccc6823ada4c71651
* Remove obsolete version checks and compat utilities after min SDK was bumped ↵linyuh2018-03-263-9/+4
| | | | | | | | up to N. Test: Existing tests PiperOrigin-RevId: 190508397 Change-Id: Ia5f33e45af1d1cc666fec5f43efa564b2b68c193
* Increase minSdk to 24.calderwoodra2018-03-261-1/+1
| | | | | | | | | | | | | | | | Manually set to M - MissedCallNotifierTest (not sure what the issue is here...) - CallLogGroupBuilderTest (because a check was removed, some NPEs are thrown) - MainSearchControllerTest (/system/etc/fonts.xml (No such file or directory)) Ignore Tests - a few random ones in incallui/answer/impl/hint (shared prefs aren't working for some reason) - VisualVoicemailUpdateTaskTest (disabled the whole test, issue unclear) Bug: 73902692 Test: tap PiperOrigin-RevId: 190030202 Change-Id: I1e9b61d758a61582c5a183ee884dd2181d1c10de
* Add more boilerplate to the incallui.erfanian2018-03-205-10/+50
| | | | | | | Bug: 73774242 Test: unit tests where they exist PiperOrigin-RevId: 189853302 Change-Id: Ibf3431cc0d7716c2c53c7ea165dfc130102a1bc7
* Show a warning dialog about charges when user starts a video callwangqi2018-03-062-0/+6
| | | | | | | | | | | | | | | | | | The user starts a video call a warning dialog shall be presented. If the user presses "OK" with the "Do not show again" box selected, the dialog shall not be presented anymore. Test: manual - Verified that a warning dialog about charges is shown when a video call is started if KEY_SHOW_VIDEO_CALL_CHARGES_ALERT_DIALOG_BOOL is true. This is an upstream change from: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/518977/8 Bug: 67832837 Test: partner manual test PiperOrigin-RevId: 188103414 Change-Id: I62628a32557297acaef096db90d2ddf049ef5017
* 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