summaryrefslogtreecommitdiff
path: root/res/values
AgeCommit message (Collapse)Author
2017-03-01Update dialer sources.Eric Erfanian
Test: Built package and system image. This change clobbers the old source, and is an export from an internal Google repository. The internal repository was forked form Android in March, and this change includes modifications since then, to near the v8 release. Since the fork, we've moved code from monolithic to independent modules. In addition, we've switched to Blaze/Bazel as the build sysetm. This export, however, still uses make. New dependencies have been added: - Dagger - Auto-Value - Glide - Libshortcutbadger Going forward, development will still be in Google3, and the Gerrit release will become an automated export, with the next drop happening in ~ two weeks. Android.mk includes local modifications from ToT. Abridged changelog: Bug fixes ● Not able to mute, add a call when using Phone app in multiwindow mode ● Double tap on keypad triggering multiple key and tones ● Reported spam numbers not showing as spam in the call log ● Crash when user tries to block number while Phone app is not set as default ● Crash when user picks a number from search auto-complete list Visual Voicemail (VVM) improvements ● Share Voicemail audio via standard exporting mechanisms that support file attachment (email, MMS, etc.) ● Make phone number, email and web sites in VVM transcript clickable ● Set PIN before declining VVM Terms of Service {Carrier} ● Set client type for outbound visual voicemail SMS {Carrier} New incoming call and incall UI on older devices (Android M) ● Updated Phone app icon ● New incall UI (large buttons, button labels) ● New and animated Answer/Reject gestures Accessibility ● Add custom answer/decline call buttons on answer screen for touch exploration accessibility services ● Increase size of touch target ● Add verbal feedback when a Voicemail fails to load ● Fix pressing of Phone buttons while in a phone call using Switch Access ● Fix selecting and opening contacts in talkback mode ● Split focus for ‘Learn More’ link in caller id & spam to help distinguish similar text Other ● Backup & Restore for App Preferences ● Prompt user to enable Wi-Fi calling if the call ends due to out of service and Wi-Fi is connected ● Rename “Dialpad” to “Keypad” ● Show "Private number" for restricted calls ● Delete unused items (vcard, add contact, call history) from Phone menu Change-Id: I2a7e53532a24c21bf308bf0a6d178d7ddbca4958
2016-04-22Merge "Adding migrate promo to blocked numbers setting ui" into nyc-dev am: ↵Brandon Maxwell
fd95466 am: 5fffba0 am: e27b1da * commit 'e27b1da7a4c4b3bfc1a22d0aa1db4c32c24ea478': Adding migrate promo to blocked numbers setting ui Change-Id: I1871490040968ee816d30885db225cde78b05ade
2016-04-20Adding migrate promo to blocked numbers setting uiBrandon Maxwell
This Migrate promo is shown so users have a way to migrate to the framework blocking solution, directly from the settings. Previously, users would have had to block a number to be presented with the migration dialog. UI: http://screen/GS8TdfKrnVv Button Pressed: http://screen/ovd6NgVmOqq Change-Id: I9c04b8afdf7c5681e09c02c7a4f6013c94b396d9 Fixes:27703938 (cherry picked from commit 3db9bde34452552973acefad5535a2273e9968fe)
2016-04-07Merge "Add via number to CallLog Account entry" into nyc-dev am: 87b9abfBrad Ebinger
am: 8607dfb * commit '8607dfb43c2707ca534d68f2dcf728fece01c82b': Add via number to CallLog Account entry Change-Id: I55e9f40fb5497a4edeec31fc0abeb2efd459f1a2
2016-04-06Add via number to CallLog Account entryBrad Ebinger
Call Log now provides the phone number that an incoming call was received on if that number is different than the SIM subscription number. This "via number" is appended to the Phone Account of the Call Log entry in Dialer if it exists. Screenshots: - One PhoneAccount: http://screen/HuCSL0U6jU6.png - Multiple PhoneAccounts: http://screen/pDg8F9zpMei.png Bug: 25594198 Change-Id: I8c05ea98409e54d20493fbdb20096bf851480719
2016-04-06Add dialogs for spam report and block.Qi Wang
Screenshots: 1. block/report spam https://screenshot.googleplex.com/5e772Kikikw 2. block https://screenshot.googleplex.com/AEpYSYoL2E8 3. unblock(is spam and report not a spam) https://screenshot.googleplex.com/AEZfhCXj4h8 4. unblock(not spam) https://screenshot.googleplex.com/r7YkHuCMT1p 5. report not spam https://screenshot.googleplex.com/jkcpm0pdKoj Change-Id: I78fbbacece44632614026c03909289995bef5b14 Fix: 27295785
2016-04-04Integrate spam feature into call logs.Qi Wang
+ Add block and report spam actions. + Show spam icon and label for call log item. + Add stableIds for CallLogAdapter to improve performance(reuse same viewItem to minimize update work). * Fix funky UI of call log. Change-Id: I6144d70b6a8e38061e1447d0d01910d53026d1db Fix: 27295728 Fix: 26907466
2016-03-28Change color for spam icon to reuse background color.Qi Wang
Change-Id: Ib9597e21702ad3b528e8093312709f907a2a60da
2016-03-28Add spam indicator for notification and incoming call of incallui.Qi Wang
+ Add spam icon and label in notification of incoming call. + Add spam icon and label in primary call info of incall screen. + Change background color and status bar color if primary caller is spam. Screenshots: https://screenshot.googleplex.com/WFob2oPdXZd https://screenshot.googleplex.com/ddCfg91Anef Bug: 27611253 Change-Id: I03b3754f69631f5f6b07932b1a0006407b93c6e8
2016-03-22Update number blocking stringsTa-wei Yen
+ No message string for unblocking, same as new filtering. + String for blocking with new filtering Fixes:27703247 Change-Id: I4622d9223e03e3c3f207da581ce5b28ee4aa2b42 (cherry picked from commit f0f07d585c95d2bda8a59e9dcffdb687cb21c0fa)
2016-03-22Update number blocking stringsTa-wei Yen
+ No message string for unblocking, same as new filtering. + String for blocking with new filtering Fixes:27703247 Change-Id: I4622d9223e03e3c3f207da581ce5b28ee4aa2b42
2016-03-16Rename provider authority for AOSP DialerTa-wei Yen
Authority name clash is preventing GoogleDialer from installing over AOSP dialer Authority for FileProvider is put in donottranslate_config.xml because it need to be shared with ContactsCommon Bug:27685485 Change-Id: I45a51639a85a00f58385e08221cb100ac66c2069
2016-03-14Adding block numbers migration dialogBrandon Maxwell
+ When the user attempts to block a number and they haven't migrated to the framework blocking implementation, they should be shown a dialog that asks them to migrate. This CL introduces the Dialog that is shown and updates the Call log and Call details to open it. + As part one of the change, the Dialog is shown every time the user attempts to block or unblock a number (when the feature is enabled). A later CL will complete this migration step to ensure that the dialog is only shown until migration is finished. Bug: 26664600 Change-Id: Ia4c2d504f8d98679b90d232058eb5ee6ea9b38f1
2016-03-11Add share button to voicemail cards.Sarmad Hashmi
+Add share icon and string +Added share button to voicemail_playback_layout.xml +Link to icon: https://icons.googleplex.com/#icon=ic_share BUG=22798485 Change-Id: Iab9051f4824a4fa0eed90049a762aaac032cf3bf
2016-03-04Fix truncated unread voicemail count in landscape multi-window mode.Qi Wang
Bug: 27231624 Change-Id: Ib3f756119520693ee794358c2d6818fdc0929c5a
2016-02-29Accessibility: announce the active call after switching calls.Qi Wang
Bug: 24200862 Change-Id: I102a9c8406984a9dd4cfd8b91ec77254aa984dd5
2016-02-25Add resource files for voicemail archive.Sarmad Hashmi
+ Added strings + Added voicemail button + Added voicemail archive in overflow menu + Added archive button icon from https://icons.googleplex.com/#icon=ic_archive&search=archive BUG=22797391 Change-Id: I926604592b43b2c67a57c137ef7ef7bb5c4cc4bf
2016-02-24Collapsed and expanded voicemail cards show duration.Sarmad Hashmi
The duration of the voicemail is appended to the date in a MM:SS format. BUG=25728257 Change-Id: I9c3e392336877c2ca69707e14c6ab2eed6f2e7c6 (cherry picked from commit 3f70c27d80b2e3176159f561248f95612d66afe2)
2016-02-17DO NOT MERGE: Listener of spam eventsGilles Franck Mevaa
Getting rid of the Manager to have the ButtonRenderer directly communicate changes to an event listener. Implementation changes in ag/863096. Cherry picking to nyc-dev to fix build. Change-Id: I8061116f0b91e3f5a6a3a6eac09fe2171ebcbd5c
2016-02-04Show work call title for missed call notificationVictor Chang
1. return complete ContactInfo in CallLogNotificationsHelper 2. use ContactInfo.userType to decide use work call title or not BUG=26902076 Change-Id: Ic58fea1002de053ba69bc0aff06691b8a8605e64
2016-01-27Display missed call notifications in Dialer.Nancy Chen
Dialer is now putting up the missed call notification instead of Telecom. As a result, it has to handle receiving a new missed call broadcast and sending requests back to Telecom to update the missed call count. + MissedCallNotifier class displays notifications and triggers call back sms, and dismiss intents. + CallLogNotificationsService added actions it can handle for missed calls. + MissedCallNotificationReceiver receives the missed call intent to update the notifications. Bug: 22857261 Change-Id: I03a3c3b5a2533a3ea26d668124fcaf3fa72347fc
2015-12-18Support carrier presence-based video calling icon.Tyler Gunn
- Update SmartDial database to track carrier presence. - Add video call style elements to dialer stylesheet. - Tore out hair in frustration tracing through code. - Add listeners to allow dialing of video calls from search results. Bug: 20257833 Change-Id: I476cccb8c2805ae6f9949366fc5c2ce2669b7734
2015-11-16Tweak block number UITa-wei Yen
Bug:25455707 Change-Id: I374a200d1332addfb321dd16eb52b779c3754159
2015-11-10Increase char limit for block_number_search_hintJay Shrauner
Increase char limit from 40 to 45 Bug:24521652 Change-Id: Ie6c589538ec133ff08d4826a053e5d80b6665719
2015-11-06Dialer Call Blocking String ChangesTa-wei Yen
Bug:25455707 Change-Id: I5abc3956269a58362f8e2df0132d17a99de3764e
2015-11-06Call Blocking UI/String changeTa-wei Yen
+ Adjusted UI/String according to new specifications. + Added class VisualVoicemailEnabledChecker + Block number dialog display different message depending on whether VVM is activated. Bug:25455707 Change-Id: I09425053c91a5517e309302d421beadcc2d81cd4
2015-11-04Merge ""Send Message" -> "Send a message" in call log." into ↵Nancy Chen
ub-contactsdialer-a-dev
2015-11-04"Send Message" -> "Send a message" in call log.Nancy Chen
Updating string to match mock. Bug: 25458359 Change-Id: I2b9b85915fffcfdb125af489841de8b35a089e5c
2015-11-03DiatactsActivity title indicate dialpad status, removed excessive "showing item"Ta-wei Yen
messages. + DiatactsActivity set its' title to "Phone Dialpad" or just "Phone", so user using Talkback can know the state of the activity when it is launched + SpeedDialFragment and SearchFragment no longer send accessibility events when its' content is changed. + Add AccessibilityDelegate ContentChangedFilter to filter out TYPE_WINDOW_CONTENT_CHANGED event for View. Bug:25190037 Change-Id: If1fa34cc9a5d24dec3fe261da9c071bb5388ec58
2015-10-30Merge "Always hide blocked calls." into ub-contactsdialer-a-devAndrew Lee
2015-10-30Always hide blocked calls.Andrew Lee
- Remove setting for show/hide. - Remove utilities and behaviors for show/hide. ~ Continue filtering blocked call types in call log (which may be marked by other applications.) ~ Change behavior after blocking call; instead of keeping the call log entry but changing the type to BLOCKED, delete it instead. + Default behavior is now to delete entries and visual voicemails of blocked calls. Bug: 25378068 Bug: 25106387 Change-Id: I8cbc419b25cce6ba39099857cffe4eb1df9d0bef
2015-10-29Restyle add button for blocked number settings.Andrew Lee
+ Convert from button into list item with ripple feedback. - Removed divider line between list items, including the custom background drawable which used to be used to achieve the divider only for the bottom border. Bug: 25356667 Change-Id: Ic19fd8b895b7b12a140c64a945f8ac8571e0a510
2015-10-28Notify for call blocking disabled by E911.Andrew Lee
+ Add method and listener to FilteredNumberAsyncQueryHandler to query for whether there are any blocked numbers. + Added utility function for showing a notification, which points to the blocked numbers setting screen. This notification will only be shown if the user has blocked numbers. + Add a boolean flag to track whether we have shown this notification after an emergency call. This is to address the (edge) case where the user makes an emergency call when they have not blocked any numbers, but then later blocks a number. + Added strings for notification. Bug: 25327365 Change-Id: I3179f3884271ea0a504ef8c9a61bf9dfbd18ef10
2015-10-27Remove onboarding flowYorke Lee
Straight revert of all onboarding flow related CLs - the onboarding flow is not needed for now as the Dialer will always at least be the system dialer. Bug: 25020847 Change-Id: Ic1c5020b9b423de50801485f764209b21d5d7f33
2015-10-27Merge "Fix voicemail tab items reading "speed dial" when selected." into ↵Nancy Chen
ub-contactsdialer-a-dev
2015-10-26Fix voicemail tab items reading "speed dial" when selected.Nancy Chen
The voicemail entries were reading "speed dial" because the focus would go to the newly added "speed dial" tab since the tabs are all removed and readded when the tab info changes. Change the logic so that only the voicemail tab is changed when needed. The voicemail entry reads "seek playback" instead of the information about the voicemail because of custom expand logic for accessibilty. Change it so that only the call log items are expanded when selected (it is more important to be able to discover the overflow options). Also change content description text because it was too long and confusing. Bug: 25124120 Change-Id: I64c1b27d8c0db57525f7f4ada59655e9f8352245
2015-10-26Merge "Change call blocking setting string." into ub-contactsdialer-a-devAndrew Lee
2015-10-26Change call blocking setting string.Andrew Lee
Bug: 25154882 Change-Id: I70d031dcf62a183efc4b830a2292e28917bc5279
2015-10-23Merge "Remove unused permission request string" into ub-contactsdialer-a-devYorke Lee
2015-10-23Merge "Refresh onboarding flow UI" into ub-contactsdialer-a-devYorke Lee
2015-10-23Remove unused permission request stringYorke Lee
Bug: 24172011 Change-Id: I13d84166c33859a38f6a920f3f082cb037d2a33b
2015-10-22Refresh onboarding flow UIYorke Lee
- Update button styles and positioning - Update background images Bug: 24270592 Change-Id: Idaca76d25d8fc1362fb6c004ec053ac5ed618170
2015-10-22Update character limit for stringYorke Lee
Bug: 25174539 Change-Id: I67e1f2e56c75469f84ee4a0255c3131448a23eab
2015-10-21Disable call blocking after emergency call.Andrew Lee
Will be disabled for 48 hours after an emergency call. + Add utility for noting last time of an emergency call. + Add utility for comparing current time to last time of an emergency call. + If current time is within 48 hours of emergency call, display text in settings explaining why call blocking is disabled. Bug: 24418319 Change-Id: I6824340f04fae17b73f17843a9f6ef991afa0327
2015-10-20Add import fragment, rearrange fragments.Andrew Lee
+ Add a fragment (and adapter) for displaying numbers from contacts marked as send to voicemail. This fragment has import functionality. + Refactor logic around the Blocked Numbers activity; relocate a lot of the fragment-specific logic, particularly around actionbars, to within the fragments themselves. + Simplify fragment management logic by using replace instead of show/hide. Bug: 23351616 Change-Id: I5c1076d6d001a8401234f57c27ada4bcd90e6c27
2015-10-20Merge "Set snackbar action text to blue." into ub-contactsdialer-a-devAndrew Lee
2015-10-20Add setting for hiding blocked calls.Andrew Lee
+ Add settings switch to blocked number settings. + Add utility for checking/setting whether calls should be blocked. + Filter out blocked calls in call log query, if appropriate. + Refresh call log fragment after a change in setting. Followup work: delete voicemails for calls by blocked numbers after the time when the user blocked them. Bug: 24134270 Change-Id: I85088697559ef6fb446b82617f14f1c6fa893df1
2015-10-19Set snackbar action text to blue.Andrew Lee
Done for both snackbars in call blocking/unblocking and voicemail deletion. Bug: 24370325 Change-Id: I00fdebb635e60ac1d421ccf7f15df46693773870
2015-10-16Add import for SEND_TO_VOICEMAIL.Andrew Lee
+ Add utility class for async import functions. + Move check for contacts with SEND_TO_VOICEMAIl to util. + Add function for adding phone numbers of contacts with SEND_TO_VOICEMAIL to the block list, then clearing the SEND_TO_VOICEMAIL flag. + Fixed bug where the import text would not be shown for an empty block list. Rearranged layouts slightly to facilitate this. + Protect against null listeners in FilteredNumberAsyncQueryHandler. Bug: 23351616 Change-Id: Id526e16f20a3d28966bbc5e458cecfcd03ecb20f
2015-10-14Moving call type/location for voicemailBrandon Maxwell
Combination of two related bugs. 22168682: In the voicemail call log, moved call type/location to below the call action button and removed the call details button as it didn't have any additional information. 22514722: Modified spacing and text sizes for call log. Moved voicemail transcription below call date as in mocks. Bug:22168682,22514722 Change-Id: I557761b815604fee4e6b61f4670608b8fa90d3a7
2015-10-12Show icons for call detail actions.Andrew Lee
- Remove LinearLayouts and use drawableLeft instead. + Up block asset from 18dp to 24dp. Bug: 24109819 Change-Id: I941520f1b90e6f819c7f94269e395d26c56f5734
2015-10-12Merge "Add footer actions to Call Details." into ub-contactsdialer-a-devAndrew Lee
2015-10-12Merge "Combine blocked number fragments into Activity." into ↵Andrew Lee
ub-contactsdialer-a-dev
2015-10-07Combine blocked number fragments into Activity.Andrew Lee
Mocks indicate that after adding, the user should be returned to the management UI and the snackbar should be shown there. This is kind of pain to do across fragments in different activities. To help address this, make one Activity the parent of both the blocked number manage and add/search UI. This also makes sense in terms of logical organization. Bug: 24134038 Change-Id: I682342a73c964a5d4eb90469f10d6584b85400f1
2015-10-07Add footer actions to Call Details.Andrew Lee
Some of these are moved down from the overflow. Others are added from the list of those shown after a call log list item long press. This hooks up the block/unblock functionality, although there is still polish (eg. icons) and cleanup (some noted as TODOs), to complete still. Bug: 24109819 Change-Id: I129f5b09ac1c5edb66ab5bd91a46b18961240fb5
2015-10-07Show blocked contact instead of profile photo.Andrew Lee
Does not yet update on change; figuring to do that in a followup CL because there are a number of other scenarios where that needs to be fixed too. Bug: 23943480 Change-Id: I73615c405d547e74667f6c635b5623708c723347
2015-10-07Merge "Settings UI elements for importing VM to block list." into ↵Andrew Lee
ub-contactsdialer-a-dev
2015-10-07Settings UI elements for importing VM to block list.Andrew Lee
+ Hidden for now, and no logic implemented yet. + Add UI elements for importing send-to-voicemail settings into Dialer's blocked calls list. + Add strings for these settings. + Rearrange some dimens/colors/styles. + Add blue button style to theme as the default button. + Added FlatButtonStyle to make it easier to style standard borderless buttons. Bug: 23351616 Change-Id: I21804ed4f8498008f0e79d7b8c4f2b12a9a2f914
2015-10-06Show prompt to request for location permissionYorke Lee
Clicking on TURN ON currently only asks for the location permission. Showing the dialog that toggles location sources is planned for a follow up CL. Bug: 24172011 Change-Id: Ieb6bd58a60aacbda76f9c754efeebfdd9e89aa86
2015-10-06Merge "Convert caller information into list header." into ↵Andrew Lee
ub-contactsdialer-a-dev
2015-10-06Convert caller information into list header.Andrew Lee
this allows us to scroll the header with the rest of the screen, instead of having it pinned to the top, as it is currently. Bug: 24109819 Change-Id: Ic440bc18d31d196493a86130e06d954c453c9146
2015-10-06Show blocked icon in call log.Andrew Lee
For calls of type BLOCKED, show the blocked call icon. Bug: 23943480 Change-Id: Ic1477090c31d51322dbe04dac29f1ca3b0dae4d1
2015-10-02Prepatory CallDetailActivity tweaks.Andrew Lee
Incremental CL in changing actions/layout of CallDetailActivity to move actions such as Block/Edit/Copy out of the overflow menu. + Make header at top of Call Detail Activity smaller. + Move delete options into actionbar button. - Delete call list header in CallDetailActivity. Bug: 24109819 Change-Id: If75f016e14de9e2c5ac8629c4bfa38e2380ce48b
2015-10-02Merge "Revert "Prepatory CallDetailActivity tweaks."" into ↵Andrew Lee
ub-contactsdialer-a-dev
2015-10-02Revert "Prepatory CallDetailActivity tweaks."Andrew Lee
This reverts commit 11a7350843ec13c7ca4d27523e9ba146911d2767. Change-Id: Idf62da51c934ee598c1bbc1b5052e6cea2929feb
2015-10-02Merge "Add blocked number indicator to search screen for adding a blocked ↵Anne Rong
number." into ub-contactsdialer-a-dev
2015-10-02Merge "Modifying voicemail call log date and time format" into ↵Brandon Maxwell
ub-contactsdialer-a-dev
2015-10-02Add blocked number indicator to search screen for adding a blocked number.Anne Rong
Bug: 24468656 Change-Id: I31091e2dde07dabc432247fd4e409907fada152b
2015-10-02Merge "Prepatory CallDetailActivity tweaks." into ub-contactsdialer-a-devAndrew Lee
2015-10-02Prepatory CallDetailActivity tweaks.Andrew Lee
Incremental CL in changing actions/layout of CallDetailActivity to move actions such as Block/Edit/Copy out of the overflow menu. + Make header at top of Call Detail Activity smaller. + Move delete options into actionbar button. - Delete call list header in CallDetailActivity. Bug: 24109819 Change-Id: I1a5fedc54d1bb725597a07f4cfd8d7f6e8627a32
2015-10-02Merge "Add BLOCKED call type and util to mark in call log." into ↵Andrew Lee
ub-contactsdialer-a-dev
2015-10-02Add BLOCKED call type and util to mark in call log.Andrew Lee
To support call blocking, added BLOCKED call type. Also added utility to be able to mark the most recent call from a number as BLOCKEd in the call log database. Added REJECTED call type as well. This is not presently used within our application, but we want to reserve the integer, anticipating changes in the framework to add this constant. Introduced AppCompConstants, because BLOCKED and REJECTED call type values will not be defined as part of the API on M devices. Change existing call type constants to reference this compatability class. Bug: 24341350 Change-Id: I523ebd8dd1844a3b71a69a14bd38073be5940804
2015-10-02Modifying voicemail call log date and time formatBrandon Maxwell
Bug: 22168682 Change-Id: Id0135ca03310f6c1587151af81c29b22e9d20d2b
2015-10-02Merge "First pass for Dialer onboarding flow" into ub-contactsdialer-a-devYorke Lee
2015-10-02First pass for Dialer onboarding flowYorke Lee
* Add OnboardingActivity that controls the onboarding the UI ensuring that the user grants the necessary permissions before the Dialer can start. * Add first pass (no graphics, eyeballed measurements) for the screens that request for default dialer as well as permissions * OnboardingActivity is not actually launched at this moment - will be tied in to the various Dialer activities in a follow up CL. * Add tests for logic that controls the display of the screens in anticipation of future additions to the onboarding flow. * Add mockito library to DialerTests's Android.mk Bug: 24270592 Change-Id: I00d0f75edaecaa85042b136b0d830b5fbb3a0a73
2015-10-01Increase character limit for block_number_search_hint.Anne Rong
Bug: 24526556 Change-Id: I88354b2747932ebfdfcd10617f9740c8b1d726d6
2015-09-29Add search for adding blocked numbers to the blocked number management screen.Anne Rong
Bug: 24134038 Change-Id: I30b283a6b67d7e64b58138762079c4bceb8fc64f
2015-09-18Merge "Improve clickability of search bar buttons" into ub-contactsdialer-a-devYorke Lee
2015-09-17Build management screen for managing blocked numbers.Anne Rong
Currently uses a simple dialog for adding numbers. Search function to be added in separate CL. Bug: 23350280 Change-Id: Ib25b9e0d72e95853af88c446b2143341f6d077cb
2015-09-16Improve clickability of search bar buttonsYorke Lee
Move some padding around to increase the touch area of the voice search and overflow menu buttons Replace microphone icon with correctly-sized one (24dp) per material design guidelines Bug: 22958299 Change-Id: I79ac81738eb4efbcdaf7d211afbec6fba6344c7f
2015-09-03Add block/unblock number to calllog longpress menuAnne Rong
Bug: 23350278 Change-Id: I2304055f4e2b5ffbb50370fd8cf9517f50210d75
2015-08-27Only show loading text when downloading VM.Andrew Lee
In other cases (eg. buffering), just load without showing the text, since it will likely appear only for a very short time, and give the appearance of flickering. Bug: 22333980 Change-Id: Ic2bbba7a2127654aaf12546b177c465c9311ddc1
2015-08-24Increase char limit for "Voicemail deleted"Nancy Chen
Bug: 23403798 Change-Id: If14396c4a864bf04cd0ff3c6db0b6df8cf84a525
2015-08-19Show snackbar to undo last deleted voicemail.Nancy Chen
Snackbar will appear for 3 seconds during which the user can undo the last deletion. The way it works is the snackbar appears for 3 seconds and a delayed callback is set for 3 seconds after which the voicemail is permanently deleted from the database. If a second (or third or fourth) voicemail is deleted subsequently, the previous voicemails that were waiting for the undo timeout are deleted immediately. Bug: 22460745 Change-Id: I84b70994275975e4e3020321884d382cc87098dc
2015-08-17Merge "Convert Dialer activities to AppCompat to support Snackbar."Nancy Chen
2015-08-14Rename "Recents" to "Call History".Andrew Lee
+ All user-facing indications should now say "Call History". + I renamed many references in code to "Call Log", which is how we internally refer to many of the components related to call history. It seemed excessive to rename the fragment, list items, adapters, and other references to that throughout our codebase. Bug: 23017190 Change-Id: I99719122ce592962ff99705dcf4b16e17eee3ab7
2015-08-13Convert Dialer activities to AppCompat to support Snackbar.Nancy Chen
In order to add an "Undo" snackbar for voicemail, dialer activities need to inherit from the AppCompat library. Add the relevant libraries to the make files and change the styles to be compatible. Bug: 22460745 Change-Id: Ia3cc4002cbd943da818fec67f888d085d53a3b25
2015-08-11Show entire call history in Dialer tab.Andrew Lee
+ Rename some logic around identifying the scenario (tab vs activity) for the call log. + Add padding at the bottom of the call log. + Make call log in tab show all history, not just recent history. + Rename promo card logic in CallLogAdapter, since it is VM specific. - Remove extra view holder, and associated logic. Bug: 23017190 Change-Id: I1f36f414647705a779ee14e8b43e88bf711bba56
2015-07-25am d28951e4: am ad00b313: am ffeb2959: am 036cb573: am 3f468007: Merge ↵Yorke Lee
"Protect against lack of WRITE_SYSTEM_SETTINGS AppOp" into mnc-dev * commit 'd28951e41c01652740e01f586e96463de934a831': Protect against lack of WRITE_SYSTEM_SETTINGS AppOp
2015-07-24Protect against lack of WRITE_SYSTEM_SETTINGS AppOpYorke Lee
Guard the following entry points with checks against the AppOp 1) Launch of SoundSettingsFragment Fallback: Send to system sound settings instead 2) onResume of SoundSettingsFragment (this can happen if the AppOp is toggled by the user in the background) Fallback: Return to main Dialer settings instead 3) Toggling of various perferences (this can happen in monkey tests) Fallback: Show toast, ignore settings chance Bug: 22660372 Change-Id: Ief5d74166d35a9718ea664f378f6930e777f2923
2015-07-23Merge "If nearby places is disabled, change search hint text."Anne Rong
2015-07-23If nearby places is disabled, change search hint text.Anne Rong
Added method setSearchBoxText to DialtactsActivity, for overriding in Google Dialer. Bug: 20699994 Change-Id: I82ac9bfd7aea705d2b32b63ee58220ac231fc489
2015-07-21Allow copying the voicemail transcriptionAnne Rong
Added item to context menu that allows copying the voicemail transcript. Removed the select-on-double-tap from previous commit. Bug: 22451484 Change-Id: I518680afda74c4c15c5fb16b02a55cae64ed131d
2015-07-17Merge "Add permission prompts for contacts and dialpad search" into mnc-devYorke Lee
2015-07-17Add permission prompts for contacts and dialpad searchYorke Lee
Update the following fragments to handle denied permissions -Contacts Search (Contacts and Location) -Dialpad Search (Phone) Tweak and remove some of the onTouch listener logic as they are no longer valid with the new UI. Instead of intercepting the touches when the query is empty and returning to the main dialer activity, allow the fragments to remain on screen if the permission request UI is showing. Modify signature of onEmptyViewActionButtonClicked to remove unused permissions parameter. Bug: 22174668 Change-Id: I96d00f2ab45df936dca602ac025f723638ac02c4
2015-07-16Fix typo in stringYorke Lee
Bug: 22526905 Change-Id: I261418ec426c5217275de661fa25e81825f59d25
2015-07-15Merge "Change Settings name to "Phone"" into mnc-devJay Shrauner
2015-07-15Change Settings name to "Phone"Jay Shrauner
Make Settings app name match the icon app name, "Phone". Bug:22510177 Change-Id: I34f013b152fcceeac12c2530ed6e9a61671ed2d3
2015-07-15Update Dialer UI to prompt for permissionsYorke Lee
First pass at adding functionality to Dialer to prompt for permissions. Also updates the UI for various fragments when there are no contacts/calls available to unify the UI with the new UI for the permissions denied state. * Refactor existing empty view functionality and encapsulate into a new custom view class * Add action buttons to existing empty views in various fragments -> Speed Dial (Add to favorites) - scrolls to all contacts fragment -> Recents (Make a call) - shows dialpad -> All contacts (Add a contact) - Launches add contact dialog * Add functionality to various fragments to detect if permissions are denied, and request the permission when the action button is pressed. -> Speed Dial (request for contacts permission) -> Call Log (request for phone permission) -> All contacts (request for contacts permission) * Remove now unneeded EmptyContactsListAdapter Remaining issues (to be addressed in a follow up CL to avoid bloating this CL): UI alignment tweaks for empty view to match mocks If the read contacts permission is requested from the speed dial screen, the all contacts fragment doesn't update with the list of contacts until restarted. Bug: 22174668 Change-Id: I70721914bb9b32910d746de288ccac049749e42e
2015-07-15Update/add strings for permissions UI changesYorke Lee
Bug: 22174668 Change-Id: I7c857a5fbc6c80274e22201cb8d349cb048bc970