summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Dialer: Apply Google material design and palettesHEADt13.0strwbrry1432022-10-2712-34/+43
| | | | | | | * based on google apps visuals Signed-off-by: strwbrry143 <alexfinhart@gmail.com> Change-Id: I35910febd3aeeb832d7babe5bf3d8c746384e417
* Dialer: Improve Bottom Nav colorsDarkJoker3602022-09-292-4/+4
| | | | | | | | * Let's use system accent for selected item only for better visibility. Signed-off-by: DarkJoker360 <simoespo159@gmail.com> Change-Id: I766efc7ad1b3c4117beb9364f4aeb5c52df7c68e
* 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: set equal marginTop and Bottom (#16)raystef662022-09-291-1/+1
| | | | | | avoiding false touch on end call/add call Change-Id: I20246fcfba0b14adb3c1c083a7680ec986c2f8d8
* Dialer: Update full screen photo iconsHikari-no-Tenshi2022-09-132-6/+4
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: If14edd968792f13034391707436d29283a990df1
* Dialer: Increase call type icon size in call historyPranav Vashi2022-09-131-2/+2
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Ib1c2807e64f71a28d3ae419bbde6f77c2e390252
* Dialer: Update icon resources from googlePranav Vashi2022-09-13113-120/+409
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I9b83a813c8f89890642549345291125f12807731
* Dialer: Use vector drawable for voicemail iconPranav Vashi2022-09-137-1/+25
| | | | | | | * Match color with secondary text on dialpad. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Id6c91cd9165ed02ff202d8af8e180f2a24f93b1a
* Dialer: Use Material You theming for incallui dialpadPranav Vashi2022-09-133-27/+0
| | | | | | | * Follow main dialpad in most aspects. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I1c2e8c9349a39271bc2bbaa8c362cc1b0e2e346e
* Dialer: Fix statusbar on light themePranav Vashi2022-09-131-0/+1
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: If714e3b5d4f7650f8370108e60ea2713501ff80a
* Dialer: Update title text for bottom navbarPranav Vashi2022-09-132-2/+8
| | | | | | | * Following google naming. Ready for translations. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Ic9015b94065d697f58e8234ac544debda1730bce
* Dialer: Remove shadow below statusbar in dialpad viewPranav Vashi2022-09-131-1/+1
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I5bf76319d50463c9c34218ed474760e1db4085a7
* Dialer: Fix floating action button for dialpad landscape modePranav Vashi2022-09-131-1/+3
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Ib702f6465b946339dd35446f619d6dec5fe9e58e
* Dialer: Update search bar and dialpad iconsPranav Vashi2022-09-1324-17/+88
| | | | | | | | * Make icons a shade darker. * Also, remove search bar elevation. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Ia0c9b3e79654b244e9194b775c8004ae3e82eb09
* Dialer: Improve Material You designPranav Vashi2022-09-133-8/+8
| | | | | | | | | | | * Make action bar in Settings and Call stats follow deeper accent color (similar to Messaging and Contacts) * Fix mismatch statusbar in call stats history * Fix search bar color for light theme * Fix background to follow slightly deeper neutral color (similar to Messaging and Contacts) * Remove some duplicate attributes in styles Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I61025b648fe79b47897c24c20e6ad301cead59cc
* Dialer: Fix crash issue when user taps audio button while BT is connectedTong Wang2022-09-131-0/+1
| | | | | | | | | | | | | Since incallui doesn't have BLUETOOTH permission, SecurityException occurs when using BluetoothDevice#getAliasName() API. To resolve this issue, add the BLUETOOTH permission. Test: manual - Checked that no crash occurred when switching to audio route with BT connected. Bug: 127236848 Change-Id: I65fa3d6275569e967d9608ac4b1c8ee175b2664d Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Dialer: Make bottom nav items more distinctPranav Vashi2022-09-131-6/+7
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I13c5cba9613d0dc86777ec20e7bed028ecd2a8e9
* Dialer: Always use Material You gradient for incall UIPranav Vashi2022-09-132-17/+4
| | | | | | | * Disregard using sim highlight color, looks awful. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I8272a2efbcdcb5b065e67b6e50b74946fc3e94a0
* Dialer: Properly set navigation bar themePranav Vashi2022-09-138-36/+71
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I0c28097d1e876d2bcc3ff77c1da630c13c60b0b7
* Dialer: Fix LetterTileDrawable for all languagesPranav Vashi2022-09-131-5/+2
| | | | | | | | | | | * Currently alphabet tile is rendered only for english language. However, Google Dialer / Googler Contacts do support rendering for all languages. Let's do same here! * Also, following Google, we do not want to handle numbers. * Fixes: https://github.com/crdroidandroid/android_packages_apps_Dialer/issues/9 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I499e3a371cadc8f9ffdfeee2c90c761063879d8f
* Fix NPE in InCallPresenterDaniel Kutik2022-09-131-1/+3
| | | | | | | | | | | Handling case where call.getHandle() returns null in InCallPresenter#setDisconnectCauseForMissingAccounts Test: reran monkeyrunner Issue: 155582943 Signed-off-by: Daniel Kutik <daniel.kutik@lavawerk.com> Change-Id: I2caaf9fc063a5673b369f196ceaf4ca589316bc7 Signed-off-by: blinoff82 <blinov.in@gmail.com>
* Dialer: Manifest: Enable READ_EXTERNAL_STORAGE permissionShevT2022-09-131-0/+1
| | | | | | | Need to record calls Change-Id: I62fe19bb3e1b62722cd5fb36dd7f62865cd3e234 Signed-off-by: blinoff82 <blinov.in@gmail.com>
* Dialer: make search bar more roundRahul2022-09-132-2/+2
| | | | Change-Id: I56e22b090223c1b17b73760c0c543c0550675256
* Dialer: Add & Import google dialer's bottomnavbar iconsRahul2022-09-1316-4/+130
| | | | Change-Id: I80efc7ac56331a1286c8e988ea42bee05994c56c
* Dialer: Revamp speed dial cards to match OOS UIRahul2022-09-139-29/+57
| | | | | | | | | AICP - Drop the png drawable, keep a gradient drawable in its place - Add "1" to the existing value, the column count Change-Id: I3003726ee33e6b5f2332fb8cdc39efb4c21cea9a Signed-off-by: George Zacharia <george.zcharia@gmail.com>
* Dialer: Revamp swipes to new functionalitiesDixzz2022-09-131-7/+57
| | | | | | | | | | | | - Right swipe to delete - Left swipe to Text msg AICP: - Cleanup some code - Use icons currently available Change-Id: I9d587c8de09746e937a974e193cf5cbb1f69cbf3 Signed-off-by: George Zacharia <george.zcharia@gmail.com>
* Dialer: Introduce swipe to callRahul2022-09-131-0/+30
| | | | | | | | | AICP - Includes "Dialer: nuke decorator for now" - Cleaned up some code Change-Id: I53e514a6f12189a3d18669cb26f292027a5020dd Signed-off-by: George Zacharia <george.zcharia@gmail.com>
* Dialer: Fix voicemail button visibility on dark themeSpiritCroc2022-09-131-0/+27
| | | | Change-Id: I2323faea90ec2055d26ceb698b6c54d8f0cbcdf6
* Add back autoanswer option when bt or wired headset connectedDennySPB2022-09-134-6/+78
| | | | | | | | Forward port to P Adapted to AICP by @eyosen Change-Id: I6151e800bc33d58f89b938d3b6f3dcce253f3d3a
* Add back proximity autoanswer featureDennySPB2022-09-133-5/+49
| | | | | | | | | | Forward port to P Forward port to 10 by @eyosen: * switch from settings provider to sharedprefs * sensorManager instead of sensor Change-Id: I613986b63adc6a3ba73ace208bc0ac0589435b8d
* Dialer: Add option to disable proximity sensormaxwen2022-09-133-11/+35
| | | | | | | * Provide a switch for end user to disable proximity sensor while calling/incall. Change-Id: I086b1db64af820cbc3c111c5caed46391e40664c
* Dialer: Add toggle for post call snackbarxyyx2022-09-135-4/+114
| | | | Change-Id: Ia801b8ee472afba58d0b8e52e29a7664fc77dd79
* Fix incorrect proximity sensor behaviourDennySPB2022-09-131-0/+1
| | | | | | | * screen must be ON when audioroute != EARPICE Change-Id: Iaaf9a4ffb91024a92f06494965be17be85322d39 Signed-off-by: DennySPB <dennyspb@gmail.com>
* Dialer auto proximity speakerphonedankoman2022-09-138-2/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | aicp @eyosen: port to P and 10 includes 4358e4fa9a1e951f9d4dbf1a6b5f0e6c1d6b6fb7 Unlink Dialer settings from the framework Author: ezio84 <brabus84@gmail.com> Date: Sun Oct 15 18:55:00 2017 +0300 abc ezio84: port to O tune up delay values originally done by dankoman30 rewritten and moved to dialer by beanstown106 ezio84: port to N PureNexus edits: *moved settings from TelephonyService to Dialer *Made a "proximity speakerphone" fragment in dialer settings *Changed proximity delay from slimseekbarpreference to a ListPreference *Updated strings The main reason behind the move from TelephonyService to Dialer was because in the call settings menu google would add more menu's after our preference category which looked really off. changed from seekbar to a listpreference for a more consistent look as well as a better UI for the end user. Authorship is dankomans as this was his mod originally i just rewrote the setting aspect of it Change-Id: Ica738841429127002fcdff6d9c6006958a2371d1
* InCallUI: SmartMuteAli B2022-09-136-9/+139
| | | | | | | | | | | | | | | Mute the incoming call by flipping the phone AICP: Brought to N by combining into one commit 3a4c1f7b7b319a3bfd560423ae19e4da3f52eda1 9063092dfc3eac9bc30f73fdca40ec6fe1aa1f44 AICP: brought up to O @eyosen: brought up to P, 10 and 11 Change-Id: I3ff27450eecbf501fafb2d75317a0d7dd844e7b2 Signed-off-by: linuxxxxx <joey@cyanogenmoditalia.it>
* dialer: Add back missing priv-app permissiondoc HD2022-09-131-0/+1
| | | | Change-Id: I72b38e94c54f3f0b571ed3e0a5868f5399a090d3
* Add missing permissions to Dialerbeanstown1062022-09-131-0/+2
| | | | | | * These were in google dialer and not aosp dialer.. Change-Id: I4a40ef49609c85c274f46722a44c8e5171fb8764
* Dialer: follow system font for Recents tabSpiritCroc2022-09-132-1/+8
| | | | Change-Id: Ida9e398c53c79cf601be919d23bb89dc77f2e837
* Dialer: Use system fontsPranav Vashi2022-09-1330-70/+70
| | | | | Signed-off-by: doc HD <doc.divxm@gmail.com> Change-Id: I8d0549d3b68a44cc6efba7ef4fb71b2863695fb7
* Fix Dialer memory leaksMengjun Leng2022-09-131-43/+65
| | | | | | | | | Close the cursor properly to avoid memory leak. Bug: 69641622 Change-Id: Ieb1bceb67d0d89ef77382050500d5cd5c10fba0e Signed-off-by: DennySPB <dennyspb@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* AospThemeImpl: fully white might NOT be uninitialized!SpiritCroc2022-09-131-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes crash when using dark theme with white text, e.g. after missed call: E AndroidRuntime: Process: com.android.dialer, PID: 9363 E AndroidRuntime: java.lang.IllegalArgumentException E AndroidRuntime: at com.android.dialer.common.Assert.checkArgument(Assert.java:2) E AndroidRuntime: at com.android.dialer.common.Assert.checkArgument(Assert.java:1) E AndroidRuntime: at com.android.dialer.theme.base.impl.AospThemeImpl.getTextColorPrimary(AospThemeImpl.java:1) E AndroidRuntime: at com.android.dialer.app.calllog.PhoneCallDetailsHelper.setPhoneCallDetails(PhoneCallDetailsHelper.java:85) E AndroidRuntime: at com.android.dialer.app.calllog.CallLogListItemHelper.setPhoneCallDetails(CallLogListItemHelper.java:1) E AndroidRuntime: at com.android.dialer.app.calllog.CallLogAdapter.render(CallLogAdapter.java:19) E AndroidRuntime: at com.android.dialer.app.calllog.CallLogAdapter.access$2200(CallLogAdapter.java:1) E AndroidRuntime: at com.android.dialer.app.calllog.CallLogAdapter$7.onPostExecute(CallLogAdapter.java:14) E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:755) E AndroidRuntime: at android.os.AsyncTask.access$900(AsyncTask.java:192) E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:772) E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107) E AndroidRuntime: at android.os.Looper.loop(Looper.java:214) E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356) E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491) E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) Now please don't try to use 0xfffffffe as color... Change-Id: I8722671560840a6b7e036f110fb07ec9321ee70c Signed-off-by: DennySPB <dennyspb@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Improve contatcts layoutDennySPB2022-09-135-13/+318
| | | | | | | | 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-1320-29/+562
| | | | | | | syberia: forward port to 10 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I90ee1c30f7ab248e9fdb8b94d33434c23b327389
* CallRecordingAutoMigrator: Handle all exceptionsPranav Vashi2022-09-131-1/+1
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I1f1e1bc06932a0860dbd0120c2d18abae81638c6
* Dialer: Make recording names sortablePranav Vashi2022-09-131-2/+2
| | | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Id8f96010ab0ef22aebfd012f6b69c47ae811d5b5
* Dialer: Add autorecord featureDennySPB2022-09-133-15/+30
| | | | | | | Forward port to Q Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I3647d441346ce5cbe41747648456c7135f3d871c
* Dialer: Enable call recording for allPranav Vashi2022-09-131-2/+1
| | | | | Change-Id: I2068412384ceffdda19ac70c70f0717a647ab090 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* proguard.flags: Don't optimize fragment constructorsAayush Gupta2022-09-131-1/+5
| | | | | | | | | | | | | 09-03 13:08:51.712 4496 4496 E MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback 09-03 13:08:51.713 4496 4496 E MessageQueue-JNI: android.app.Fragment$InstantiationException: Unable to instantiate fragment com.android.dialer.app.settings.DisplayOptionsSettingsFragment: calling Fragment constructor caused an exception 09-03 13:08:51.713 4496 4496 E MessageQueue-JNI: at android.app.Fragment.instantiate(Fragment.java:565) 09-03 13:08:51.713 4496 4496 E MessageQueue-JNI: at android.preference.PreferenceActivity.switchToHeaderInner(PreferenceActivity.java:1245) 09-03 13:08:51.713 4496 4496 E MessageQueue-JNI: at android.preference.PreferenceActivity.switchToHeader(PreferenceActivity.java:1296) 09-03 13:08:51.713 4496 4496 E MessageQueue-JNI: at android.preference.PreferenceActivity.onHeaderClick(PreferenceActivity.java:1093) 09-03 13:08:51.713 4496 4496 E MessageQueue-JNI: at com.android.dialer.app.settings.DialerSettingsActivity.onHeaderClick(DialerSettingsActivity.java:45) Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com> Change-Id: Idef793065ea422e7506f943bc76cd20e60e0a271
* fixup! Add a permission to guard receiving intents in StatusSmsFetcher.razorloves2022-09-061-1/+2
| | | | | | Add missing permission declaration. Change-Id: Icc71b79831c3045b36ff43cc0884275c1c7cbbc8
* Dialer: Notify content observers upon call log entry deletionLuK13372022-09-064-0/+10
| | | | | | * This change makes call log refresh its data after deleting an entry. Change-Id: Iaa8a559cd02853be05b69cd2daca1e321679369e