summaryrefslogtreecommitdiff
path: root/java/com/android/incallui
AgeCommit message (Collapse)Author
2021-08-21Automatic translation importMichael Bestas
Change-Id: Ie3a73c54c766044acbcc8608dd54cc502518799e
2021-05-01Automatic translation importLineageOS Builder
Change-Id: I3399206bf8828f113392776bd81eec0b354897dc
2021-03-14Dialer: Hide sensitive numbers from incall screenMichael W
* In order to have less places where a sensitive number could be shown during usage, hide them from incall ui as well Change-Id: I686f9a8fc09d62884344a2ddc949f12d0d5e1f7c
2021-02-28Automatic translation importMichael Bestas
Change-Id: I74c642b3b9aad5034895cc0cc72a8f3c986797db
2020-12-12 Failed to show hold call when user click swap and merge simultaneouslyrongmei.li
Set EVENT_MERGE_START for foregroundConnection and backgroundConnection but don't set EVENT_MERGE_COMPLETE when there is ImsException Bug: 121105030 Change-Id: Ib376b24e5d307d8907d7ec2c8a3e025c04682d88
2020-12-12Updated target SDK from 28 to 29.Raman Tenneti
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
2020-12-12Dialer: AudioModeProvider: use wired route for usb headsetscodeworkx
Change-Id: I920a9c259af5597dfd9a88a72e4ac54cb6e73f7a
2020-12-12Control dialer's incoming call proximity sensor check via an overlayblunden
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
2020-12-12Re-add call recording.Danny Baumann
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 Author: Danny Baumann <dannybaumann@web.de> Date: Thu Nov 7 08:34:44 2019 +0100 Base 'call recording allowed' decision on current country. 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 Author: Han Wang <416810799@qq.com> Date: Wed Nov 20 13:27:00 2019 +0200 Enable call recording for China Change-Id: Id51a2e6a119e99ff50696b50513aed323c61565c Author: mhkjahromi <m.h.k.jahromi@gmail.com> Date: Sat Dec 7 18:32:20 2019 +0330 Enable call recording for Iran Change-Id: I5640405d9bd38ac3d83fd618543190c1b0d800fb Author: Danny Baumann <dannybaumann@web.de> Date: Thu Feb 20 13:19:27 2020 +0100 Refactor call recording to use MediaProvider. Change-Id: Id53d43d8bf10715a1597ff754f6c38a992302190 Author: Danny Baumann <dannybaumann@web.de> Date: Fri Jun 5 13:19:46 2020 +0200 Iterate old recordings properly when migrating call recording data. SparseArray.get() expects a key, not an index. Change-Id: I0ba40180dc9df9f8a8f4036ccbe47cc59a50cfbb Change-Id: Ie9e0af8ccadb1bab1c52a5d905344d0c8fcab92c
2020-12-12Add setting to enable Do Not Disturb during callsblunden
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
2020-12-12Add back in-call vibration featuresDanny Baumann
Change-Id: Ia30a3c46e9c37d7d73288ec605af8efc3a46a323
2020-12-12Dialer: disable anti-falsing for call answer screenAdrian DC
* 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)
2020-12-12Dialer: Fix proto warning with optmize for liteLuca Stefani
* option optimize_for = LITE_RUNTIME is ignored in proto 3+ * Instead we should use the java_lite compiler via the LOCAL_PROTOC_OPTIMIZE_TYPE flag which defaults to lite in java projects Test: m Dialer, no warnings Change-Id: I552f5895bbe8192a4ae870bb48e5ef6a9e7e8c78
2019-09-11Require unlock for custom SMS dialogBryan Ferris
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
2019-04-16Merge "Fix for button flickering issue when video call screen rotates"Treehugger Robot
2019-04-16Merge "Fix the issue that automatic mute state remains ON after adding VT call"Ta-wei Yen
2019-04-16Merge "Fix error case which session change request failed when pausing video"Treehugger Robot
2019-04-16Merge "Fix issue that the hold label is not shown during remote video holding"Treehugger Robot
2019-04-16Merge "Fix to update peer dimensions when video screen resumes foreground"Treehugger Robot
2019-04-16Merge "Fix preview image overlaps a call button during video call"Treehugger Robot
2019-04-05Fix the issue that automatic mute state remains ON after adding VT callSekine Yasuaki
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
2019-04-02Fix error case which session change request failed when pausing videoSekine Yasuaki
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
2019-02-28Fix for button flickering issue when video call screen rotatesHideki Ishii
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
2018-07-19Fix to update peer dimensions when video screen resumes foregroundSekine Yasuaki
[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
2018-07-13Fix incorrect notification text is displayed for video call in dialingQiong Liu
"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
2018-07-10Update translation strings.Eric Erfanian
Test: make Change-Id: Ib75f4f25e91067311de244d7f1fb95bc898aec22
2018-07-10Revert "Ignore display cutout for in call UI."Eric Erfanian
This reverts commit a45b5e0299bad5aa6d287179d2c476570f14f347. Change-Id: I062108a36138f1023e549dafad7518177da74a03
2018-07-10Revert "UI refresh for ringing screen."Eric Erfanian
This reverts commit 36d5b93da4f93e50deb496daa5ad820c48aa7b01. Change-Id: I533bc3f7d592a6e257d184f0d3730b4be95f2af2
2018-07-10Revert "Internal change"Eric Erfanian
This reverts commit 988dac56b45e935b99b125f608a2019ce836602b. Change-Id: I825b8ef2074592fcf23a419cd2cb4d0185035df7
2018-07-10Revert "UI refresh for voice call screen."Eric Erfanian
This reverts commit b6c615dba7609e5134e960a92e723cfeadfbc589. Change-Id: Ibfe295c51323b4e0352098470921ffae114f5c83
2018-07-10Revert "Fix color for disabled button in voice call."Eric Erfanian
This reverts commit 4af5facf5a45bb06beebdba790af2807c39e7649. Change-Id: I3d923cb1cdfb31aa9db4384d554fff3ecbfbe4aa
2018-07-10Revert "Update style for important call badge."Eric Erfanian
This reverts commit 79a9ae7be17c7fe50e6812a47cdd6e7ce5d07966. Change-Id: Ib60e15fba40207884cb2f9d4f0e65fd599b33ae5
2018-07-10Revert "Change reply with sms to chip."Eric Erfanian
This reverts commit 19e85a54d723bbe23e51bed70df89bd3861570d7. Change-Id: Ic450c3012496a20c67327fc64e6b8a1047ea6995
2018-07-10Revert "Update emergency call map and device number UI."Eric Erfanian
This reverts commit 20f8f6018e0f80083ebbabb43965ec19996d5f87. Change-Id: I170c7dff3dff788bf12e9572195ddb3453f058bb
2018-07-10Revert "UI refresh for reply with sms bottom sheet."Eric Erfanian
This reverts commit 27d7f0a5a307c15dee5a048ec36ca256fa90d1bd. Change-Id: I492d6039813499517ca2243b0e04bfea3d957233
2018-06-29UI refresh for reply with sms bottom sheet.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 202678951 Change-Id: I89cf9dc7ec78f2b6bd10889d50d3c9a139168bca
2018-06-29Remove more instances of guava optional for built in optional.erfanian
Test: tap PiperOrigin-RevId: 202663404 Change-Id: Ic229d77f8f14bb9e60e82889ed5788dee600e957
2018-06-28Remove redundant @TargetApi, @RequiresApi and @SuppressWarningslinyuh
Test: Existing tests PiperOrigin-RevId: 202589482 Change-Id: I6982e4069d30032bf46caf3c9984dfc0e7196f6f
2018-06-27Add voip call checks.erfanian
Bug: 110177989 Test: manual PiperOrigin-RevId: 202337281 Change-Id: I277fcbc77ad50c4ed04f92d0541b67043bc8bef8
2018-06-27Update emergency call map and device number UI.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 202228927 Change-Id: Ia68d3b1366a36ba5bdde85049b1b23ca98495ed1
2018-06-27Update connection label.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 202185676 Change-Id: I53c3896a68f9dbed9316360d7f4ad6dd7cbe17ec
2018-06-26Don't show mock location for emergency callyueg
Test: manual PiperOrigin-RevId: 202040098 Change-Id: Id9a6c59d343634473fc2f695d6eafefd16b3c1b7
2018-06-26Add background call checks.erfanian
Bug: 110173835 Test: unit PiperOrigin-RevId: 202029563 Change-Id: I62021e0f68beb6eff52b475626c40876daf53fbf
2018-06-26Fix bug that input cannot be deleted on non-English keybaord such as Japanesewangqi
and Chinese keyboard. Bug: 110564298 Test: manual PiperOrigin-RevId: 202027152 Change-Id: If27d23fb04abe6db49748dec68c4cd9be5f11fb1
2018-06-26Change reply with sms to chip.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 202022343 Change-Id: I7239b13e53a537e20af4b2684a53108aeea16025
2018-06-26Refactor ContactPreferencetwyen
Moving it outside contacts.commons reduces dependency to legacy code. Also removed redundant implementations such as caching SharedPreferences (it is already cached), custom ListPreferences (standard ListPreferences already have what we want), and corrected preference storage location (allow standard ListPreferences to work) TEST=TAP Test: TAP PiperOrigin-RevId: 202000393 Change-Id: I45374e610b3510784b5a4da92e5d8462cbfc92bb
2018-06-26Update style for important call badge.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 201764305 Change-Id: I09d0df697c4eb93a732053280fe4b79513ebfe75
2018-06-26Fix color for disabled button in voice call.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 201763780 Change-Id: I3ea0fb46c3904060927b68417699708d2e62b08a
2018-06-26UI refresh for voice call screen.wangqi
Bug: 79878432 Test: screen diff tests PiperOrigin-RevId: 201758864 Change-Id: Ib3ed6636df3d337cb2fa7c5f6d8f24da035cbd0c
2018-06-21Internal changetwyen
Test: N/A PiperOrigin-RevId: 201614430 Change-Id: Ia154343ce4dd3447811d21f29aeed546f524ef48
2018-06-21UI refresh for ringing screen.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 201608196 Change-Id: Idff45359c5ddf3dacbeb77b103d3b53d3bf34334
2018-06-21Ignore display cutout for in call UI.twyen
Per android documentation, LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER should be used for activities that changes SYSTEM_UI_FLAG_FULLSCREEN on runtime to avoid relayout. It has caused flickering issues for video calls. SYSTEM_UI_FLAG_FULLSCREEN is only used in InCallActivity TEST=manual Bug: 110489070 Test: manual PiperOrigin-RevId: 201590805 Change-Id: Ia5ee986540fc3b10ddda7f4c9d1a13ed35c43828
2018-06-20Take in to account video upgrade requests in some circumstances.erfanian
Test: manual PiperOrigin-RevId: 201390999 Change-Id: Ifa4b124d0d94d97f2aa1d3675130c7eef1f289c1
2018-06-20Update settingsuabdullah
Bug: 109890761,73736474,73737524,73773935,79701706 Test: Unit Test PiperOrigin-RevId: 201379249 Change-Id: I0a18adc4c8df33c65e81281928508897679b5994
2018-06-20Fix text color in MultimediaFragmentyueg
Test: manual PiperOrigin-RevId: 201376176 Change-Id: Iaaf29568249b470daa6fd38dae110b8528bc8493
2018-06-19Add call eligibility checks.erfanian
Test: none PiperOrigin-RevId: 201242961 Change-Id: I09e6c09a573ac3d740a42749775d9ec18aa9ee6d
2018-06-18Fix wrong orientation change when a video call endswangqi
When video call is disconnected, VideoCallPresenter#checkForOrientationAllowedChange is invoked with "Call(= null)". When Call is null, set "DISALLOW" to Activity#setAllowOrientationChange. It causes that the end call screen is displayed in portrait mode even if in landscape mode. This is an upstream change: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/694787 Bug: 80375554 Test: manual PiperOrigin-RevId: 201046687 Change-Id: Id08db0e399e067bd85ae44444de3e78aae14f67d
2018-06-18Check phone capabilities.erfanian
Bug: 110177989 Test: none/manual PiperOrigin-RevId: 200771224 Change-Id: I6c9d9b6eb0aa98be8e60d693549c07fbbf73c5d7
2018-06-18Fix bug that RTT call is conferenceable with voice call.wangqi
Bug: 109763648 Test: manual PiperOrigin-RevId: 200460856 Change-Id: I1ce385490e6ce6167f56dc32c35a931292e0d03f
2018-06-15Fix issue that the hold label is not shown during remote video holdingOya Masafumi
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
2018-06-12Replaced a reference in a comment to DialtactsActivity with MainActivity.zachh
DialtactsActivity will be deleted soon. Bug: 109931227 Test: none PiperOrigin-RevId: 200270077 Change-Id: Iafba7081bd3878c3d426cc1483cbef45a6f545a1
2018-06-12Delete checkSpamStatusForInCallUimaxwelb
Test: Tap PiperOrigin-RevId: 200252072 Change-Id: I25aea0e324b070d0f8553cb0041c6b3e9668552e
2018-06-12Rename keep.xml in spam.wangqi
Test: manual check resource are still kept PiperOrigin-RevId: 200237775 Change-Id: Ie6530b5317c898a85e601c4c5fb23cd9f67f5873
2018-06-12Use an activity instead of a fragment for SpeakEasySettingsuabdullah
Bug: 109890761,73736474,79701706 Test: Unit Tests PiperOrigin-RevId: 200237086 Change-Id: If33011f8a6477ea69f8a41d8f78ee9cf7fb51c1f
2018-06-11Fix secondary color on incall screen.wangqi
Test: manual PiperOrigin-RevId: 200110976 Change-Id: I0cad28e7b9e650cd07423febd117b44ef61b00fd
2018-06-11Fix NPE issue when tapping speaker button on VT call ended screenwangqi
Null pointer exception occurred when tapping speaker button on VT call ended screen. At the ending of VT call, the call is NULL and issue caused by accessing the call. To resolve this issue, disable speaker button on VT call ended screen by updating button UI when button controller is disabled. Bug: 109765937 Test: manual - Check that speaker button is disabled on the VT call ended screen. This is an upstream change: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/699606/ Bug: 109765937 Test: manual PiperOrigin-RevId: 200096438 Change-Id: Ibecda05fe93edd0a5bbd3bcc29107fc51d3ae2cc
2018-06-11A few more interface updates.erfanian
Bug: 73773964 Test: none PiperOrigin-RevId: 200079809 Change-Id: I1c505c4f63a17b34ed9fb062c9f9e1b1e16c3832
2018-06-08Fix incall icon arrow coloryueg
Test: manual PiperOrigin-RevId: 199872562 Change-Id: I77e7ff7587f05c4c251ba8e55e43f32730cdc3c4
2018-06-07Fix bubble theme crashyueg
Test: manual PiperOrigin-RevId: 199693464 Change-Id: I73428025592097e431567ef0cdf55abb84538c7c
2018-06-07Set the preferred SIM when InCallActivity is not visible.linyuh
Bug: 109653872 Test: N/A (InCallActivity is not testable, similar to cl/194824783). PiperOrigin-RevId: 199662982 Change-Id: I4effa2454246d852837d0878246898537f799980
2018-06-06Update mute states after add voice call from RTT call.wangqi
This fixes bug that new added call and original RTT call are both muted. Bug: 79956827 Test: manual PiperOrigin-RevId: 199539018 Change-Id: I242fcdd8f2e23470cf222dd4ccc390478d3e2919
2018-06-06Supported two RTT calls at same time.wangqi
Bug: 109738484 Test: manual PiperOrigin-RevId: 199524711 Change-Id: Ia75c41004179da5eae17b6acbc952d652e8d7480
2018-06-05Update a few interfaces.erfanian
Bug: 73773964 Test: unit PiperOrigin-RevId: 199362698 Change-Id: I4b0ab4a3c07ad8fa206753c4826b42037b8a06be
2018-06-05Dismiss RTT request dialog if RTT is already active.wangqi
On VZW, RTT request will be accepted by modem automatically, in which case the dialog will be useless and should be dismissed. User won't see the dialog in this case since it's not visible yet when dismissed. This is a workaround since change in modem/telecom is not feasible at this point. Bug: 80259700 Test: manual PiperOrigin-RevId: 199334017 Change-Id: Ie5fb40e7a11975a423135ad7e5e6ef2dddbac56b
2018-06-04Update dagger types.erfanian
Bug: 73736474 Test: unit PiperOrigin-RevId: 199224642 Change-Id: Ie11e0bfb261a1ff49b49697314c4341cab4a48d0
2018-06-04Add keep.xml to keep string resources for spam.wangqi
Without this rule, these string resources not directly referenced by code will be stripped out by Proguard. Bug: 80512860 Test: manual PiperOrigin-RevId: 199201142 Change-Id: I91ea90273051b6bb6fa57d116bfb037fc86c1a94
2018-06-04Fix video call icon colortwyen
It is a state list. TEST=manual Bug: 80315482 Test: manual PiperOrigin-RevId: 199162757 Change-Id: I3be255506871e0d32e5433c2a96bf620701b9c0d
2018-06-01Fix color in RTT call screen.wangqi
Bug: 79883035 Test: manual PiperOrigin-RevId: 198884630 Change-Id: I61636776c234a4000dbaf1e206ffd0429364d942
2018-06-01Updating PhotoInfo and GlidePhotoManager to support conference calls.Android Dialer
Bug: 76205353 Test: GlidePhotoManagerImplTest PiperOrigin-RevId: 198872893 Change-Id: I7957078a63af2455e439286b8d2ef719d4c9ff4e
2018-06-01Solve BiDi problem when phone number is concatenated with RTL-stringlinyuh
Solves BiDi problem that might cause phone number to be displayed incorrectly in the dialer. Issue might occur when a phone number is concatenated with a custom number label containing an RTL-string. Solved by changing affected labels from TextView to BidiTextView. Removed function spanDisplayNumber in BottomRow which are now obsolete. Updates the DialerBidiFormatter to prevent whitespace to be misplaced within a BidiTextView. BUG=78464687 TEST=Manual Public-Origin-Change-Id: I789a6f76a5ca805c03a437813ce627eef7a0bf2e Signed-off-by: Linyu He <linyuh@google.com> Author: Torbjorn Eklund <torbjorn.eklund@sony.com> Bug: 78464687 Test: Manual PiperOrigin-RevId: 198823629 Change-Id: Id35c3ebf514609b4a1fe10a7ae5a297bde7c7456
2018-06-01Fix color of primary text on incall screen.wangqi
Bug: 79883035 Test: manual PiperOrigin-RevId: 198813765 Change-Id: If7dda82316946c7d1c07a3d7fb08e13c858807be
2018-06-01Inlined ConfigProviderBindings.get() and removed ConfigProviderBindings.zachh
It no longer provides any value, so just use dagger directly. Bug: 80441695 Test: tap PiperOrigin-RevId: 198806461 Change-Id: Id607abb65b77633bce511ad0c943ac19453a85d5
2018-06-01Add new spam API which can query additional data.maxwelb
Bug: 80303132 Test: InAppSpamTest, verified using Blueline device PiperOrigin-RevId: 198801576 Change-Id: I30f8c0c7c850ac4bd7b6fcf2dad18c0d70f1b2d1
2018-06-01Add new default interface.erfanian
Bug: 79701706 Test: tap PiperOrigin-RevId: 198747775 Change-Id: I3bd0d26ee6621ebe428e4e8c82b51959d313608f
2018-06-01Also check call configuration for disconnected callyueg
Test: manual PiperOrigin-RevId: 198609574 Change-Id: Ic5e599b65d81968bdacaf6a90cb1ad34647b8419
2018-06-01Add toast message when RTT request failed.wangqi
Bug: 79522243 Test: manual PiperOrigin-RevId: 198598685 Change-Id: I05144ec734827b29e89bbba5070c9cb0ab06c215
2018-06-01Update button color.erfanian
Test: nope PiperOrigin-RevId: 198596861 Change-Id: Ibc2cccdcb7b02b5ba8b79f5429babc9028f282d8
2018-06-01Some minor tweaks to the UI.calderwoodra
Bug: 79883035 Test: tap PiperOrigin-RevId: 198510062 Change-Id: Ia07624a4511626b2b397199f3674817612557133
2018-06-01Fix dialpad theme on incall screen.wangqi
Test: manual PiperOrigin-RevId: 198488607 Change-Id: I54e2d7ac4320fd67e1670bb2e888cfe833dfb243
2018-05-30Some improvements to the answer fragment layouts.erfanian
Test: unit PiperOrigin-RevId: 198080186 Change-Id: I0ecc1f918b2c62e42b287e4fc9ea38fafaf1e6c9
2018-05-30Fix a few UI bugs.calderwoodra
- clear call log dialog no longer crashes - phone account selector dialog now has a visible title - dialpad text in the incall ui is now visible. Bug: 80144855,80146941,80175230 Test: tap PiperOrigin-RevId: 197952658 Change-Id: Ifaea9b798fef7e36d681a83269e4f65df33f1193
2018-05-30Log IMS video call available statetwyen
TEST=TAP Bug: 77976254 Test: TAP PiperOrigin-RevId: 197924728 Change-Id: I512ebe193cefae24e45c0526bcabdcb23846e236
2018-05-30Use Dialer Light Theme for SpeakEasyFragmentuabdullah
Bug: 79523664,80195371 Test: Need to add Scuba tests (http://b/80194939) PiperOrigin-RevId: 197821095 Change-Id: I92ea1e6b95d264ea69f7d30eea12f547ee60eeac
2018-05-30Use Maps SDK lite mode instead of static API for emergency call.yueg
Test: manual PiperOrigin-RevId: 197810897 Change-Id: Ia9dff17333152763b6c644d4f89bc32eedcc2aab
2018-05-29Updating locations where PrimaryInfo#setPhoto is used to also ↵Android Dialer
PrimaryInfo#setPhotoUri for new GlidePhotoManager implementation. As part of this addition, we also are cleaning the setPhoto(null) because this is not explicitly needed. Bug: 76206920 Test: BottomRowTest,TopRowTest,SpeakEasyFragmentV2Test PiperOrigin-RevId: 197785533 Change-Id: I1702f43ec206a6c31cf162978712292aff0f8a17
2018-05-29Converted ThemeUtil into a DaggerModule.calderwoodra
This enables us to have Google-Sans font in GoogleDialer and Roboto in AOSP. Bug: 79883035 Test: tap PiperOrigin-RevId: 197774497 Change-Id: I1d490ab196a444c62e439444627d659fc42973ea
2018-05-29Remove photo support in PhoneNumberServicetwyen
Also cleaned up unused parameters. TEST=TAP Bug: 78654933 Test: TAP PiperOrigin-RevId: 197652430 Change-Id: I1820e8c8de83fcda17f38e92d4ab1c28f519cdce
2018-05-29Began implementation of Dialer dark theme.calderwoodra
- 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
2018-05-28Fix preview image overlaps a call button during video callShalika Pathirathna
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
2018-05-22Fix bug that SpeakEasyFragment is added again after recreate of InCallActivity.wangqi
Bug: 79885898 Test: manual PiperOrigin-RevId: 197630981 Change-Id: Ib4ace31c7c207f5ee9f69aee148ddf49021da37b