summaryrefslogtreecommitdiff
path: root/res
AgeCommit message (Collapse)Author
2015-11-18Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ia15545a1f541095b92698d6674cc8bbeec8a8552 Auto-generated-cl: translation import
2015-11-16Tweak block number UITa-wei Yen
Bug:25455707 Change-Id: I374a200d1332addfb321dd16eb52b779c3754159
2015-11-14Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ifdcc44a6588a2dd5e85c37aa2943e76c1a2fcd0a Auto-generated-cl: translation import
2015-11-12Merge "Silence initial position and duration of voicemail seekbar by ↵Nancy Chen
default." into ub-contactsdialer-a-dev
2015-11-11Merge "Increase char limit for block_number_search_hint" into ↵Jay Shrauner
ub-contactsdialer-a-dev
2015-11-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I1401065f8bd08b89e7abfa2b7ebe1723b89d8277 Auto-generated-cl: translation import
2015-11-10Silence initial position and duration of voicemail seekbar by default.Nancy Chen
Currently the information is non-sensical, and does not make sense being read out loud by default. Bug: 25127953 Change-Id: Ibd0d84ab0f0bb8b203cb19c0949ca2dfe5fe1bbe
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-09Merge "Dialer Call Blocking String Changes" into ub-contactsdialer-a-devTa-wei Yen
2015-11-09Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I2d6a5fbf31eb623bbcd94dff9b3edd6d50c2efcc Auto-generated-cl: translation import
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-04Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If37dbc3186e18922331771d5e9effc81729eb531 Auto-generated-cl: translation import
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-28Removed padding at bottom of list item actions.Andrew Lee
When interacting, this causes an awkward ripple which doesn't reach the edge. Change-Id: I0b837d8159cb53584ecc779f8bed89ce554ddfa8
2015-10-28Merge "Notify for call blocking disabled by E911." into ub-contactsdialer-a-devAndrew Lee
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-28Merge "Tweak accessibility in for call blocking settings." into ↵Andrew Lee
ub-contactsdialer-a-dev
2015-10-28Fix blocked numbers rotation jank.Andrew Lee
+ Saved search term. + Fix padding/shadow jank between rotations. + Fix title disappearing for import on rotation. Bug: 24910704 Change-Id: Ib683bd07ad629917ac429a5f33be54ecf781e33d
2015-10-28Tweak accessibility in for call blocking settings.Andrew Lee
+ Adjust talkback focus to allow the user to page through the cards for the settings and import separately, even though they are structurally part of the same header component, visually they reside in different "cards". + Change the "hide setting" to be toggled by tapping on the text description area. Bug: 25163592 Change-Id: I0d1fcd28dba058d707bfe5099cdf912aed14f728
2015-10-28Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I5b3760624aa2be72f04ae524c43d952d66f7a592 Auto-generated-cl: translation import
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-22Remove unused Dialer drawablesYorke Lee
Change-Id: Ibdbdc23c5c6dcd05eeda1e19fe44180a35847962
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-21Fix scrolling in blocked numbers list.Andrew Lee
+ Add elements as header, so they scroll with the list. + Shuffle around some layouts to make this work correctly. + Replace default ListView divider with custom drawable, to achieve the desired effect of removing the divider on the first list item. + Override BlockedNumberAdapter to never report itself as empty. Otherwise, the header will disappear. + Tweak some padding. Bug: 25134186 Change-Id: I07711437fea2d3042d3987983667ab5316d51fcc
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-21Merge "Hide the hide blocked call settings if no VVM." into ↵Andrew Lee
ub-contactsdialer-a-dev
2015-10-21Merge "Delete voicemails from blocked users." into ub-contactsdialer-a-devAndrew Lee
2015-10-20Delete voicemails from blocked users.Andrew Lee
+ Delete voicemail when the notification is received if the number is blocked and the "hide" setting is set to true. + Changed utility to take time into account; only block voicemail notifications and delete voicemails if the voicemails are from after the time when the number was blocked. Bug: 24134270 Change-Id: I2f3b24d6291a6cec4a7d8530b00dd5a4656ab024
2015-10-20Merge "Set snackbar action text to blue." into ub-contactsdialer-a-devAndrew Lee
2015-10-20Hide the hide blocked call settings if no VVM.Andrew Lee
We can only honor deleting voicemail for VVM users. Bug:24134270 Change-Id: I2b4ea6856ab4bc79ad93ac111bc78bc7f8b4833e
2015-10-20Merge "Add setting for hiding blocked calls." 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-19Show unblock icon for blocked numbers.Andrew Lee
Bug: 25095683 Change-Id: I244ec8312ad24081fd36967e063ddccd53b0253c
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-05Add icons for for call detail actions.Andrew Lee
Bug: 24109819 Change-Id: I8d4718187a5d9c58d2fb4f75b9079e5ef30c6e43
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-21Fix snackbar using out of scope View in blocked numbers list.Anne Rong
Bug: 24272126, 24273593 Change-Id: I79f3ffbc745a914a11f9a61e5f06bb87be9d54de
2015-09-18Merge "Improve clickability of search bar buttons" into ub-contactsdialer-a-devYorke Lee
2015-09-18Merge "Build management screen for managing blocked numbers." into ↵Anne Rong
ub-contactsdialer-a-dev
2015-09-17Resume voicemail playback at previous position on resume.Nancy Chen
Make sure that the position is saved when navigating away from the voicemail playback so that it can be restored when resuming. Also: - Disable seekbar when not loaded - Gray out seekbar handle when seek is disabled Bug: 23566924 Change-Id: Ic9d84425d7a3cde9d212bd758eb518577161d7ec
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-15Merge "Translate FAB up and down when Snackbar appears and disappears." into ↵Nancy Chen
ub-contactsdialer-a-dev
2015-09-11Translate FAB up and down when Snackbar appears and disappears.Nancy Chen
This is implements custom behavior according the Material Design spec that the Snackbar cannot obscure the FAB. Converts the dialtacts activity layout to a CoordinatorLayout and attaches the FloatingActionButtonBehavior to the FAB. Bug: 23687913 Change-Id: Ic4d0493db415bb97cf7e21de4f23a02df9f753b1
2015-09-10Improve speakerphone setting.Andrew Lee
+ Persist speakerphone setting across resume/pause. + Allow toggling speakerphone before voicemail is played or while loading. Bug: 23566924 Bug: 23716100 Change-Id: Icc7342be85bd6df0f4678134b222f2200d3fc56d
2015-09-04Merge "Genericize promo card." into ub-contactsdialer-a-devAndrew Lee
2015-09-03Merge "Display unread count for voicemail and update when vm is read." into ↵Nancy Chen
ub-contactsdialer-a-dev
2015-09-03Merge "Add block/unblock number to calllog longpress menu" into ↵Anne Rong
ub-contactsdialer-a-dev
2015-09-03Add block/unblock number to calllog longpress menuAnne Rong
Bug: 23350278 Change-Id: I2304055f4e2b5ffbb50370fd8cf9517f50210d75
2015-09-01Genericize promo card.Andrew Lee
+ Make ViewHolder generic to generic to promo cards with customized text or graphic layouts, as long as they implement two actions, now designated the primary and secondary action views. This resuses code which is logically similar between promo cards, and hopefully doesn't bite us back in the future if there is a divergence in promo card structure. + Make the GroupingListAdapter slightly "safer". Bug: 23422274 Change-Id: I60bced4dbc61fec2e225a1cae9726ac40ed679a5
2015-09-01Fix CallDetailActivityTest.Andrew Lee
Use PopupMenu to get a Menu instance, instead of using an internal MenuBuilder. Bug: 23640774 Change-Id: I356eba8a646ca1d09e6bca0887cfc03adf12782b
2015-09-01Display unread count for voicemail and update when vm is read.Nancy Chen
Query for number of unread voicemails when dialer starts and update this number when the user reads the voicemails. Pass the tab icons into the ViewPagerTabs class: changed so that the raw image is passed instead of the modified drawable because the ripple is applied in through the ViewPagerTabs layout instead of through the drawable containing the icons. Bug: 21086059 Change-Id: Ie426b042d72926ea3feb7baa4717108776152754
2015-08-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Id0e77e33fedeeeef0cb449bca234a406cd06a0c0 Auto-generated-cl: translation import
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-26Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Iaad6318c63376b079d6ba70b942b82e12ed8f7a8 Auto-generated-cl: translation import
2015-08-24Merge "Increase char limit for "Voicemail deleted""Nancy Chen
2015-08-24Increase char limit for "Voicemail deleted"Nancy Chen
Bug: 23403798 Change-Id: If14396c4a864bf04cd0ff3c6db0b6df8cf84a525