summaryrefslogtreecommitdiff
path: root/java
AgeCommit message (Collapse)Author
2021-11-07enable auto-recording featureauto-recordsEvgeny Zinoviev
Change-Id: Ie625437f422daaffb7b751776ad76039b0ac6041
2021-11-01Automatic translation importMichael W
Change-Id: I9bb0ecefdf8b580f7e205faff4d034f4e961d5d0
2021-10-18Fix selecting phone account dialog show error.Grace Jia
AOSP dialer used to ignore UserHandle of a PhoneAccountHandle when building the selection list. When secondary user or guest mode is in use, dialer composed a wrong PhoneAccountHandle with current UserHandle so Telecom cannot provide correct information of this PhoneAccountHandle. Bug: 157499347 Test: Manually switch to guest mode or secondary user to check if the dialog show correctly. Change-Id: I8a9f9bcf5192f69ca270def48fb850106aa717fb
2021-10-18Dialer: Notify content observers upon call log entry deletionLuK1337
* This change makes call log refresh its data after deleting an entry. Change-Id: Iaa8a559cd02853be05b69cd2daca1e321679369e
2021-09-23Dialer: Fix typo in RU translationcyberwalkman
* In the application menu and on the desktop, the application shortcut is called "Позвонить"("Call") instead of "Телефон"("Phone"). Change-Id: Ie0c3ab526288dd756c948251f2d403c48fb13c09
2021-09-21Fix status bar colors in detail activities.Danny Baumann
Change-Id: I0994bd1fd9922f18a08364a0d88426d88cb04b6a
2021-08-21Automatic translation importMichael Bestas
Change-Id: Ie3a73c54c766044acbcc8608dd54cc502518799e
2021-07-12Dialer: improve search barTimi Rautamäki
* Make background color lighter * Update border radius * Update ripple to follow border radius * Remove the background color, use same as activity * Update the back-icon color to white/black for consistency Change-Id: I648a2bd0da47fec99d8a8457c70451e77ed9f8be
2021-07-12Dialer: set statusbar color same as activity backgroundTimi Rautamäki
* Keep styles that use actionBar as is because it uses normal actionbar * Set light statusbar attribute for some styles Change-Id: I8748aa4d12f8e0c68d14d514ea5a2bd4100ee3ca
2021-07-12Dialer: update ripple colorTimi Rautamäki
Ripple on dark should be lighter than background. Change-Id: I01993eac93f29609353ef1e1e9b5dc9a211a640c
2021-07-12Dialer: update dark theme colorsTimi Rautamäki
The dark theme colors exist in java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml that would be used with AOSPThemeModule. As the app uses framework dark theme instead of the module, copy the dark theme colors to values-night. Change-Id: I02a36b01ba581e62556ce6e0151ff0a35209467a
2021-07-12Dialer: correct the expanded search bar heightTimi Rautamäki
This causes the expand animation to be choppy first time Test: make Dialer, verify the animation no longer shifts the view first time the animation is played. Change-Id: Ia72b38ab39f19c2518385d6a858dc2fd194bbb55
2021-05-28Dialer: Helplines: Fix a few casing issuesMichael W
Change-Id: I31c2423aee5310ae08c9295971fbe7aced1f8f9b
2021-05-28Dialer: Helplines: Use a webview dialogLuca Stefani
* Instead of relying on one browser we can actually display a webview ourselves * Set various headers to clear cache and to not track * Displays a progressbar and loading text while the page loads Co-authored-by: Michael W <baddaemon87@gmail.com> Change-Id: Ibad2832c0cb6bcef79b5f348c40ca76c2516b295
2021-05-22Dialer: Remove unused resourcesMichael Bestas
These have been removed in previous commits Change-Id: Ib8a32eae0acef2eec6250db64ff1e96c521c17d3
2021-05-22Dialer: Helplines: Add Bullying and Immigration categoriesMichael W
Change-Id: I7969fd0dd610a4f041f55ce04e6ede5c66005dee
2021-05-22Dialer: use black/white navigation colorsTimi
Change-Id: I9d2ee0bbc7d765e605d6f60c7866565c83dff295
2021-05-01Automatic translation importLineageOS Builder
Change-Id: I3399206bf8828f113392776bd81eec0b354897dc
2021-03-14Dialer: Helplines: Launch incognito tabMichael W
* Instead of warning every time a link is clicked, at least for jelly launch an incognito tab directly Change-Id: Iff278792d115edaa69fea91d708468e3598eca5d
2021-03-14Dialer: Move to SPN schema classesLuca Stefani
Change-Id: I2cd3706f64bf45a2a6dd53caa9d5da48cf93ea28
2021-03-14Dialer: Add a helpline phone bookMichael W
* Expose the sensitive numbers to the user so they can easily call one of them * Make sure to leave as few traces of access as possible: * Calling a number closes the helpline activity * Opening a link closes the helpline activity * Before opening a link, a warning about browser history appears * This makes use of a changed xml-format, which now allows adding various things: <item> <categories>violence|human trafficking</categories> <name>Some NGO or whatever</name> <number>1234</number> <anything>anything else</anything> </item> Change-Id: I952bf10ee9516b83e595d8a19450696b303393b6
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-03-14Dialer: Don't prompt to send a message to sensitive numbersMichael W
* When calling a number but hanging up, you get a prompt "Send a message" * For a sensitive number that doesn't make sense for two reasons a) The message possible wouldn't get received there (most likely) b) The message would then show up in the messaging app - which is not really desired either Change-Id: Ic6450d5a44ba97a4da085adb1da0275477bb14fc
2021-03-14Dialer: Move assertion to top of methodMichael W
* Instead of using the number unchecked in various places and fail later when the value is null, move the assertion to the top of the method so we don't have to do all the work in between when we fail it anyway * Also change the occurances of getPhoneNumber() so we don't have to call into that various times instead of once Change-Id: Ibf7ab971dc1ee65e3d8bcc7668e9f9c8c3a30651
2021-03-08dialer: Allow Call Recording For BangladeshNahid Hasan Riyad
Change-Id: I40a400fb6af3be7a986b1ec32f1fac716e7ead92
2021-02-28Automatic translation importMichael Bestas
Change-Id: I74c642b3b9aad5034895cc0cc72a8f3c986797db
2020-12-12Dialer: handle database downgrade from lineage-16.0Michael Bestas
Change-Id: I67a84d8f709d97d66c76cbac30f5bc997ef69c54
2020-12-12Fix theme for PostCallActivitySungjae
NoActionBar theme is more proper for PostCallActivity since no need any title and a send button can have a vivid color when enabled. Test: am start -n com.android.dialer/.postcall.PostCallActivity -e "phone_number" "12345678" Signed-off-by: Sungjae <sung_jae.kim@samsung.com> Change-Id: I1971f5b2db2674f298f3f442f0113309d5523a7c
2020-12-12Fix translation of 'contacts' tab title and main menu.Danny Baumann
AOSP migrated those items to new strings, but those strings don't have any translations. Just use the previous string instances instead, which still exist and have valid translations. Change-Id: I55d7e5a5bf630e5813d2a2c22888b906b704e3f5
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-12Dialer: Use a DayNight launch themeScott Warner
This prevents the white launch screen from appearing when the system theme is dark Change-Id: I1ee8ff493910578b5e5c9de67ea1f7390178051a
2020-12-12Dialer: allow framework to do dark theming automaticallyJesse Chan
Change-Id: I5b840ba257adda69882e1fe19a55510802c45106 Signed-off-by: Jesse Chan <jc@lineageos.org>
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 dialer lookup.Xiao-Long Chen
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to> Date: Mon Sep 12 09:34:02 2016 +0200 Re-add dialer lookup. BUGBASH-612: do not send phone numbers to non-ssl sites for reverse/forward/people lookups Change-Id: I677460ad5767b8698ee24d6d43ff159aee55387a Author: Joey <joey@lineageos.org> Date: Wed Mar 28 21:11:16 2018 +0200 Dialer: comply with EU's GDPR Disable lookup by default and add a disclaimer for the feature Change-Id: If7a181952304dbaee736762bdfd5819eddc5f89b Signed-off-by: Joey <joey@lineageos.org> Change-Id: I4ff90a678618fa8c7b5970dff3dd246b0c87135c
2020-12-12Re-add call statistics.Danny Baumann
Author: Danny Baumann <dannybaumann@web.de> Date: Mon Nov 11 15:36:21 2019 +0100 Fix crash in call stats. We fed color resources into LinearColorBar now. Change-Id: Ica6870fb6af8b982bc2710e7b63092c513fa4755 Author: Danny Baumann <dannybaumann@web.de> Date: Mon Dec 2 09:34:22 2019 +0100 Beautify call stats details category headers. Make them consistent with how pref category headers are displayed. Change-Id: I4ee8bb2dae11970051552d14df2d58d7ab6a3fdf Change-Id: I9f2b6e912ca69a5aa7a1790bed06304ee953e752
2020-12-12Allow per-call account selection.Danny Baumann
Change-Id: Ieac27294f4069b2cff17bb39a0954f74320ad943
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-12Generalize the in-call vibration settings categoryblunden
Rename it to "In-call" and adjust the preference hiding code accordingly. Turn checkboxes into switches for more consistency. Change-Id: If22a58b4f82e3db59373e53da0632c126bd946f4
2020-12-12Add back in-call vibration featuresDanny Baumann
Change-Id: Ia30a3c46e9c37d7d73288ec605af8efc3a46a323
2020-12-12Revert "Remove dialer sounds and vibrations settings fragments and redirect ↵Danny Baumann
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
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: adaptive iconAsher Simonds
Change-Id: Ice040bb2785e8e4e3828c6008121520586d269ac Signed-off-by: Joey <joey@lineageos.org>
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
2020-02-10Merge "Reland: Rework platform version to hide codenames."Narayan Kamath
2020-02-07Merge "Fix FATAL Exception in PostCallActivity" am: 4b2da35108 am: ↵Automerger Merge Worker
35c12ca943 am: 8d3f2dc70e Change-Id: I73dac7ae2ee37068fd342aefb2426f8b85f56ab1
2020-02-07Merge "Fix FATAL Exception in PostCallActivity" am: 4b2da35108Automerger Merge Worker
Change-Id: I48476d4c4be6780ee316a65a048172d557e4b151
2020-02-06Reland: Rework platform version to hide codenames.Dianne Hackborn
The public platform version no longer can be a codename, it is always the most recently released platform. A new build property and API provides either the offical version or the current codename as appropriate. This will avoid breaking apps that look at the platform version while development is under a codename. Bug: 143175463 Test: manual Change-Id: Ic0621234215d4ba79255b985dccdd4ae6c863fc8 Exempt-From-Owner-Approval: Previously approved, no new changes.
2019-12-20Require unlock for custom SMS dialog am: 41606094d4Automerger Merge Worker
Change-Id: I4b18b497583bc5d3c455e1088fd56fa5c509c23b
2019-12-19Require 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 Merged-In: Ib6822436bcebc799e7e920f1a5898d107dd619db
2019-11-14Revert submissionKevin Lau Fang
Reason for revert: This causes a boot issue on Taimen (b/144480969). It wasn't caught by TreeHugger due to Taimen tests being disabled due to a different lab outage (b/144350336). Change-Id: Ib9fb23e378034fe73373030e0865c6bac99d4f37
2019-11-11Rework platform version to hide codenames.Dianne Hackborn
The public platform version no longer can be a codename, it is always the most recently released platform. A new build property and API provides either the offical version or the current codename as appropriate. This will avoid breaking apps that look at the platform version while development is under a codename. Bug: 143175463 Test: manual Change-Id: Ic8fe4defb609dee24f53358dc7b37e3590482b27
2019-10-02Fix FATAL Exception in PostCallActivityTaesu Lee
Use Theme.AppCompat.Light to fix IllegalStateException for PostCallActivity extending AppCompatActivity. Test: am start -n com.android.dialer/.postcall.PostCallActivity Change-Id: Ica815d43cd8dae73fbc8ec948dd701a1455d1704 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
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-07-11Merge "AOSP/Dialer - Fix improperly formatted resource string in Dialer ↵Raman Tenneti
across many languages." am: 8910fde7dd am: 8f9e253e97 am: d0f720b917 am: 67f0311a14 Change-Id: Ie6a29fc3595b3a417c823b03d6bf20597264c8fd
2019-07-08AOSP/Dialer - Fix improperly formatted resource string in Dialer across many ↵Raman Tenneti
languages. Bug: 135615364 Test: manual - Did a "make -j40" and verified that there are no warnings in strings.xml. Change-Id: I5b835af079832c8f38bd582113559b830efedaef
2019-04-16Merge "Fix for button flickering issue when video call screen rotates" am: ↵Hideki Ishii
890dcce1a5 am: fc10e63786 am: efe0fce79f Change-Id: Iab022c32c517563ad2956bacceb22f320a2f6ac8
2019-04-16Merge "Fix the issue that automatic mute state remains ON after adding VT ↵Ta-wei Yen
call" am: ebd9bf21e5 am: 0821635baf am: 534ce67669 Change-Id: Ib3966f8532045d22e19f7cec9d2d207ea1924ca7
2019-04-16Merge "Fix error case which session change request failed when pausing ↵Sekine Yasuaki
video" am: 9cd154587c am: ddc9143616 am: 02f02dca41 Change-Id: I94cd8a07ac50179b71ab6ec646d8a42955d3d9c5
2019-04-16Merge "Fix issue that the hold label is not shown during remote video ↵Oya Masafumi
holding" am: c1c93761a3 am: 12a51def3c am: 8e9d052913 Change-Id: Ibe2491faa719e91668cccbdf72a9806d048ca24b
2019-04-16Merge "Fix to update peer dimensions when video screen resumes foreground" ↵Sekine Yasuaki
am: 91bf209306 am: ea194aec1e am: 96026df419 Change-Id: I97e5f8f3dacac16b4a1ae6e5140af486a011372b
2019-04-16Merge "Fix preview image overlaps a call button during video call" am: ↵Shalika Pathirathna
33cc4999be am: 2ec69519ac am: 91c705de19 Change-Id: I44e2684c301deed8687b69aa4b492bc8766fcc89
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-11Remove VVM configs from AOSP Dialersamalin
AOSP VVM configurations were historically stored in AOSP as VVM support was part of the platform. This is no longer the case, old VVM configurations are being removed and individual OEMs will now be required to provide their own configurations. Bug: 129867522 Test: make Change-Id: I299bba40548e557c9802d8241b7168e8c1a3f5e9
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-10-12Merge "Fix incorrect notification text is displayed for video call in dialing"Treehugger Robot
2018-08-08Apply application theme to call details.Eric Erfanian
Bug: 111437430 Test: make Change-Id: Ib6658962f5339c33a28e326fb0478d2f4df786bd
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-11Merge "Use ContactDisplayPreferencesStub when device is locked."Treehugger Robot
2018-07-10Use ContactDisplayPreferencesStub when device is locked.Eric Erfanian
PreferenceManager.getDefaultSharedPreferences() can only be called when the device is unlocked. The module will lazily construct the impl. Fix defaults for contact display preferences. If the settings are accessed before the preferences are populated the wrong default value will be used. Test: make Bug: 111275389, 111051362 Change-Id: I29e34d61d529c91065aa3ef952d125d83cdee982
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 search bar."Eric Erfanian
This reverts commit febe3b19e7b211c233a576d20080cb2c1f2fcaee. Change-Id: I423f619d15a46072d43b31713ecd113fda0fcafc
2018-07-10Revert "UI refersh for status bar."Eric Erfanian
This reverts commit 3d17fe77a1d9e523cf15838330aee9bacb81ad58. Change-Id: I2718f98e94a03504ab56a45ac4651873b14c248e
2018-07-10Revert "UI refresh for search fragment."Eric Erfanian
This reverts commit f375be6e66c0c06db3a8f045b31425153b9a0902. Change-Id: I5de808d63bed90276481acc3f898a89f8bac2be1
2018-07-10Revert "UI refresh for FAB."Eric Erfanian
This reverts commit 53a524743f84155de2773cd9ad2da011e4435ceb. Change-Id: I8f233fb26f46fd3e11bf0b4bd0b4c7ef84d95c50
2018-07-10Revert "UI refresh for bottom nav bar."Eric Erfanian
This reverts commit 9af4b65fa7717a647e3c8996cbbbcc93637aeab4. Change-Id: I5610ae55eb9c22609e3e6a73ea0ce6a5ef3c0cda
2018-07-10Revert "UI refresh for reply with sms bottom sheet."Eric Erfanian
This reverts commit 27d7f0a5a307c15dee5a048ec36ca256fa90d1bd. Change-Id: I492d6039813499517ca2243b0e04bfea3d957233
2018-07-10Revert "UI refresh for call log items."Eric Erfanian
This reverts commit 9c952d8f2688350f06d65df7852756ab05b6fdab. Change-Id: I3b2f23826c34ecdb16e786c5dd92f13ed97d88e7
2018-07-10Revert "UI Refresh for contacts."Eric Erfanian
This reverts commit f65163bd216775476df124e07c276a9b0bceba42. Change-Id: Id7798160a67bf6f128336bea586b1216fc483552
2018-06-29UI Refresh for contacts.wangqi
Bug: 79880255 Test: manual PiperOrigin-RevId: 202717921 Change-Id: I3854263ae229e1a0bd8cab3b42e2439239a98d7f
2018-06-29Strip +1 when subscribing to VVM3twyen
The self provisioning gateway expects 10 digit US national number. TEST=manual, VVM subscription cannot be automated. Bug: 110390254 Test: manual, VVM subscription cannot be automated. PiperOrigin-RevId: 202695056 Change-Id: I9368a4e04d50f4a402d994f7bef3fb1e4b654940
2018-06-29UI refresh for call log items.wangqi
Bug: 79877518 Test: manual PiperOrigin-RevId: 202690405 Change-Id: Ibb2c5e81cb244aad25d75dc005bfc92ef775ffe1