summaryrefslogtreecommitdiff
path: root/java/com/android/dialer
AgeCommit message (Collapse)Author
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-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: 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-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-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: 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-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-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-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
2018-08-08Apply application theme to call details.Eric Erfanian
Bug: 111437430 Test: make Change-Id: Ib6658962f5339c33a28e326fb0478d2f4df786bd
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 "UI refresh for ringing screen."Eric Erfanian
This reverts commit 36d5b93da4f93e50deb496daa5ad820c48aa7b01. Change-Id: I533bc3f7d592a6e257d184f0d3730b4be95f2af2
2018-07-10Revert "UI refresh for voice call screen."Eric Erfanian
This reverts commit b6c615dba7609e5134e960a92e723cfeadfbc589. Change-Id: Ibfe295c51323b4e0352098470921ffae114f5c83
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-29UI refresh for call log items.wangqi
Bug: 79877518 Test: manual PiperOrigin-RevId: 202690405 Change-Id: Ibb2c5e81cb244aad25d75dc005bfc92ef775ffe1
2018-06-29UI refresh for reply with sms bottom sheet.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 202678951 Change-Id: I89cf9dc7ec78f2b6bd10889d50d3c9a139168bca
2018-06-28Remove redundant @TargetApi, @RequiresApi and @SuppressWarningslinyuh
Test: Existing tests PiperOrigin-RevId: 202589482 Change-Id: I6982e4069d30032bf46caf3c9984dfc0e7196f6f
2018-06-28Removed line deemed incompatible with Dialer open source.sabowitz
Test: "No tests" PiperOrigin-RevId: 202563908 Change-Id: I40cf6e7df94db1f7706b7af6168f984d64718f32
2018-06-28Avoid updating system call log cache when the call log is being builttwyen
The initial build can contain up to 1000 rows, which may be more the what the system call log can handle with a batch operation. Initial build does not create any additional information, so the cache does not need to be updated. This CL also limits the cache updater to 100 rows as a safety measure. TEST=TAP Bug: 77292040 Test: TAP PiperOrigin-RevId: 202563376 Change-Id: Iff515ae2b76a19d63d9d794a0d443cc8332e83a4
2018-06-28Make sure we have a host for the search fragment before loading data.linyuh
Bug: 110941275 Test: None PiperOrigin-RevId: 202546724 Change-Id: If8ca1f57ac61288efc13da07cfc88cee72e170c7
2018-06-28Fix scroll for new favoritesyueg
Test: SpeedDialAdapterTest PiperOrigin-RevId: 202543795 Change-Id: I1eec7a7328da3037b4d1cbacc7d9b211305e3eb0
2018-06-28UI refresh for bottom nav bar.wangqi
Bug: 73963403 Test: manual PiperOrigin-RevId: 202535473 Change-Id: Iccb4e72c63cbf031399448ee2def5dcb3a152081
2018-06-28UI refresh for FAB.wangqi
Bug: 73963403 Test: manual PiperOrigin-RevId: 202531720 Change-Id: I11ec4567dce161c5d3199e0159fe838b036489d7
2018-06-28Use ConcurrentMap to log Contacts Provider metrics in the old call log.linyuh
Bug: 80482741 Test: None PiperOrigin-RevId: 202526514 Change-Id: Ia92b95b288638ccb77d3bac16bd8c5589326bf61
2018-06-28Also ignore IllegalStateException thrown by SQLiteClosable when coalescing ↵linyuh
fails. Test: Manual PiperOrigin-RevId: 202499434 Change-Id: Ie41eeb782072d82c5613b44be99649f43807498d
2018-06-28UI refresh for search fragment.wangqi
Bug: 79879991 Test: manual PiperOrigin-RevId: 202392606 Change-Id: I24ba1177d11433b76bf6fe0c64d97368a6a1e328
2018-06-28Add voicemail greeting setting screen to voicemail settings.sabowitz
Test: "No tests" PiperOrigin-RevId: 202382580 Change-Id: Ia2dfc2ed10a0500b2b949e3b177279d35ac397e7
2018-06-27Request high resolution photo to be downloaded by the sync adapter when a ↵twyen
contact is added to the favorites. To conserve resources synced contacts only have the low-res icon by default, and the hi-res photo is only synced when the contact is viewed. When a contact is "viewed" in dialer, dialer should send a ACTION_VIEW with the contact URI to the sync adapter service. TEST=TAP Test: TAP PiperOrigin-RevId: 202373390 Change-Id: Ie3a173b7c3f442dc806a719910aea9b3a6c5cf4f
2018-06-27UI refersh for status bar.wangqi
Bug: 79879991 Test: manual PiperOrigin-RevId: 202354561 Change-Id: I2afbd7d977d4492d40568cf6f603bd07ea67691e
2018-06-27UI refresh for search bar.wangqi
Bug: 79879991 Test: manual PiperOrigin-RevId: 202354447 Change-Id: Id6121d8807c4da4864f10ea27a4f2ee92a7699a1
2018-06-27Log existing call log impressions in the new call log.linyuh
Bug: 73741308 Test: DeleteCallLogItemModuleTest, HistoryItemActionModulesBuilderTest PiperOrigin-RevId: 202232055 Change-Id: Idcf29c939272a335ccea469ac331c670127c583a
2018-06-27Added method to set Save and Redo buttons enabled/disabledAndroid Dialer
Added logic to setState() method to change state of buttons Test: "N/A" PiperOrigin-RevId: 202229300 Change-Id: I0f1ed20a41c59431edf4684e57bdbce18a8d7dbd
2018-06-27Update emergency call map and device number UI.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 202228927 Change-Id: Ia68d3b1366a36ba5bdde85049b1b23ca98495ed1
2018-06-27Fix SpeedDialUiItem.getDefaultVoiceChannelyueg
Test: SpeedDialUiItemTest PiperOrigin-RevId: 202228252 Change-Id: I72047d599a58a7932942fa8988d38e623fc2aeab
2018-06-27Fix an AOSP build error caused by version codeslinyuh
Test: None. PiperOrigin-RevId: 202212283 Change-Id: Ieff3c7fb8a4234a46ef93cf2cc3fb9362439c64a
2018-06-27Remove redundant version checks and annotations in the assisted dialing package.linyuh
Test: Existing tests PiperOrigin-RevId: 202151952 Change-Id: I0c1ad7b35ec1a57ae9f5d51ba935bfcd9f529379
2018-06-26Created Layout for RecordVoicemailGreetingActivityAndroid Dialer
Test: "N/A" PiperOrigin-RevId: 202150189 Change-Id: I709fef2917bf29d360882ecc4bc88676474454a0
2018-06-26Added a method to fix graying of drawablesAndroid Dialer
Test: "N/A" PiperOrigin-RevId: 202149985 Change-Id: I007724058859dd8905a94d2ba230ed37e5a6d49c
2018-06-26Optimize images in com.android.dialer.contacts.resources.twyen
TEST=TAP Test: TAP PiperOrigin-RevId: 202036993 Change-Id: If56cc9f19d70a8bdf06703cc2553ebb86751edbd
2018-06-26Move contacts.commons.R to dialer.contacts.resourcestwyen
This reduces dependency on contacts.common which is full of things that should not be there. Ideally resources inside dialer.contacts.resources should be individually moved to appropriate locations, but the resources are too large to work with. TEST=TAP Test: TAP PiperOrigin-RevId: 202029832 Change-Id: I95bfcb59799b9c3640de03ad0680624fc1b2c3a3
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-26Make sure we have a context before we use it.erfanian
Test: none PiperOrigin-RevId: 201767444 Change-Id: Id4622886ba7ebc8a3e2a3b2cfa5d80bdfd8c885f
2018-06-26Update style for important call badge.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 201764305 Change-Id: I09d0df697c4eb93a732053280fe4b79513ebfe75
2018-06-26UI refresh for voice call screen.wangqi
Bug: 79878432 Test: screen diff tests PiperOrigin-RevId: 201758864 Change-Id: Ib3ed6636df3d337cb2fa7c5f6d8f24da035cbd0c
2018-06-26Improved testability.zachh
Bug: 109931227 Test: unit PiperOrigin-RevId: 201752687 Change-Id: I10e101242b86d5c277b536a1e64e47f1a033e3a3
2018-06-26Don't submit fragment transaction to show search when the activity state has ↵zachh
been saved. Bug: 109887880 Test: unit PiperOrigin-RevId: 201749785 Change-Id: I84dbef78969346ebfeed600ff6aaf015c62abb86
2018-06-26Remove suggestion from NUI favoriteyueg
Test: manual PiperOrigin-RevId: 201745094 Change-Id: I7ba7b0d8063f056f0c5edb44c7649a1c807f6549
2018-06-26Reset speaker mode when done with VVM Tabuabdullah
Bug: 110530781,78281972 Test: N/A PiperOrigin-RevId: 201729044 Change-Id: Id00e8e3e4ee89b846bce78f4a29d5e6f26384e0c
2018-06-25Add Simulator service.weijiaxu
Add Simulator service so that trusted clients can access to dialer simulator apis. Bug: 79488174 Test: included tests. PiperOrigin-RevId: 201727670 Change-Id: Ic4ebb256d178e03f1de98a4e40a2b02efd3a9620
2018-06-22Fixed duplicate constantAndroid Dialer
Test: "N/A" PiperOrigin-RevId: 201706443 Change-Id: Idde8dc9b665b5e05849d65b5e836c3ff8ae68cd3
2018-06-21Set up framework of methods for RecordButton classAndroid Dialer
Added setTracks() method to update RecordButton progress Added getBasePaint() method and initialized track paints Added onSizeChanged method Added main logic for onDraw() method Added onClick method for recording activity Added basic state transition logic for both classes Created drawables for RecordButton.java Added dimensions file for RecordButton.java - trackWidth and centerIconRadius Test: "No Tests" PiperOrigin-RevId: 201621063 Change-Id: I9a8d9bc275da5198f41c7a12d84ed26d90141e85
2018-06-21UI refresh for ringing screen.wangqi
Bug: 79878432 Test: manual PiperOrigin-RevId: 201608196 Change-Id: Idff45359c5ddf3dacbeb77b103d3b53d3bf34334
2018-06-21Use context only after it is available.erfanian
Bug: 88003605 Test: Not possible; robo does not support a widget and the test suite is disabled. PiperOrigin-RevId: 201587545 Change-Id: I3683cb5649f9384c63e2156c67a38b3ff31675d7
2018-06-21NUI favorite loggingyueg
Test: SpeedDialFragmentTest, DisambigDialogTest PiperOrigin-RevId: 201577777 Change-Id: I008cdcb34f61558a7e345b7343137e37f52a61f6
2018-06-21Only throw expected exception when coalescing fails.linyuh
Bug: 110185399 Test: Manual PiperOrigin-RevId: 201570143 Change-Id: I5cf02a838113bde2dd218b84dda2c9cccffaa322