summaryrefslogtreecommitdiff
path: root/java/com/android/dialer
AgeCommit message (Collapse)Author
2018-05-09Move SpamStatus classes into subpackagemaxwelb
Test: Build PiperOrigin-RevId: 195498557 Change-Id: I28525d0475f847b2ff5a128580256e2688ed47d5
2018-05-09Delete obsolete checkSpamStatus(Listener) APImaxwelb
Bug: 79171382 Test: Build PiperOrigin-RevId: 195485088 Change-Id: I306c1ab0fdd629baf1feb0a689debe72eb08b450
2018-05-09Fix bug that showing block option for private number.wangqi
This happens when the number exists in call log, which usually shouldn't happen but some OEMs may have different behavior. Adding an additional check to align it with call action so block option won't show up if the number is not callable. Bug: 79202933 Test: verified on LG device. PiperOrigin-RevId: 195480184 Change-Id: Icde5f5b0914b2198d9031d188b22a65d6a3085cc
2018-05-09Add a null check for digitsHint.calderwoodra
Bug: 77908301 Test: listnr PiperOrigin-RevId: 195479105 Change-Id: Ieb64d5df486392b9bc1f6e9bbd340dc18e7b6e26
2018-05-09Don't commit fragment transactions if it's not safe.calderwoodra
Bug: 77807682 Test: listnr PiperOrigin-RevId: 195477904 Change-Id: I5408f4fad9bbc20ff7ce72b25201c23b11a35c43
2018-05-09Add ListenableFuture based APIs for checkSpamStatusmaxwelb
Bug: 79171382 Test: Tap, manually verified incoming spam call PiperOrigin-RevId: 195472160 Change-Id: I0cda8f36b350a9fc03e098667e8bd83ad8b1d161
2018-05-09Pass activity between new call log's adapter/view holder.zachh
This avoids a cast and generally improves understandability. TEST=existing Test: existing PiperOrigin-RevId: 195457457 Change-Id: Ida9d3fc85bed8ff1e0f8064805e23fab00fdeddf
2018-05-09Replace assert checks with safety checks instead.calderwoodra
Bug: 79239533 Test: tap PiperOrigin-RevId: 195456757 Change-Id: Ief432ae2fbd54d20f8fca198e102b22b169bcb77
2018-05-09Add SimpleSpamStatus and use it in FakeSpam and SpamStubmaxwelb
Test: Tap PiperOrigin-RevId: 195453152 Change-Id: Ida07f465a832e3541d4c9f6abad97b633c38ac13
2018-05-09Show calls to/from emergency numbers as "Emergency number" in call log & ↵linyuh
call details Bug: 71719349 Test: CallLogEntryText PiperOrigin-RevId: 195444242 Change-Id: I62268c02ef7ad277364869e713a1d58ab1928e7e
2018-05-08Reworked GenerateDaggerApplication.Zachary Heidepriem
Test: yes PiperOrigin-RevId: 195442132 Change-Id: If0cf189700bc0340cbaed065047504db22d8b618
2018-05-04Remove TODOs for showing SIM info in the bottom sheet & call details.linyuh
Bug: 74522027 Test: None PiperOrigin-RevId: 195439124 Change-Id: Ibab0bc7e58bd1b23255d9af476c5b98ed89f13fa
2018-05-04Use Telecom Bluetooth API instead of system Bluetooth API.yueg
Bug: 74238896 Test: manual PiperOrigin-RevId: 195437669 Change-Id: I1cb26187b8b90664b72de2a4451283a9fbdc0f10
2018-05-04Clear NewCallLogViewHolder.onClickListener if row is not callable.twyen
Previously the listener is not cleared, and clicking on a private will call whatever the view was previously bound to. TEST=TAP Bug: 79219109 Test: TAP PiperOrigin-RevId: 195332291 Change-Id: I4806ab659099dc7986b90c68f2e52d8efd4f5f5b
2018-05-04Filter out unnecessary bottom sheet options for a call to a voicemail box.linyuh
Bug: 78476115 Test: HistoryItemActionModulesBuilderTest PiperOrigin-RevId: 195319447 Change-Id: I7d431e74c2f4efe6ea3ce24b7d3ae42ebb4525b2
2018-05-04Aosp fix for v28-support-prelease bottom sheet.calderwoodra
The bottomsheet in v28-prelease support library is no longer available. So revert back to the deprecated bottom sheet. Test: manual PiperOrigin-RevId: 195319010 Change-Id: I580ef4d979d50864ea385b01245dfbeb68b8579d
2018-05-04Mark photo info as voicemails in bottom sheettwyen
TEST=TAP Bug: 79089209 Test: TAP PiperOrigin-RevId: 195317152 Change-Id: I2d456dc786f2ea6555b76d3ef6721140acee7413
2018-05-04Simplify how we build bottom sheet options (a.k.a. modules).linyuh
Test: HistoryItemActionModulesBuilderTest, ModulesTest PiperOrigin-RevId: 195294876 Change-Id: Iac44f965a585975389da7dee758a94a8ad8311d3
2018-05-04Add spam status tests for CallList#onCallAddedmaxwelb
There are some upcoming changes to CallList#onCallAdded, so this CL adds the tests needed to verify that behavior doesn't regress. This became something of a rabbit hole because: 1) CallListTest needed to use a FakeSpam so spam status could be changed 2) FakeSpam needed updates so it wouldn't crash when CallList calls it. This was implemented as a no-op for simplicity. It also needed to support the single number lookup method. 3) FakeCall needed updates to support setting the details' extras (needed tests) 4) ShadowCall needed updates to support setting the details' extras 5) DetailsProperty needed a new value 6) There was an old TODO to use a string that's now visible in the SDK 7) SharedPrefConfigProvider needed a new method to set the emergency call window long. Bug: 33779976,79171382 Test: Tap PiperOrigin-RevId: 195287258 Change-Id: Ib8b9fde35263183393e9bcbdcf73eeada24f28eb
2018-05-04More refactoringerfanian
Test: unit PiperOrigin-RevId: 195188099 Change-Id: Ie2273229c257a9a767715831c15d90a6985fdda8
2018-05-04Merge "Tuned Speed Dial UI according to red lines."android-build-prod (mdb)
2018-05-04Merge "Update targetSdkVersion to 28"android-build-prod (mdb)
2018-05-04Merge changes I481fbbc7,I57e48b5d,Ieb52489b,I2763ddd9android-build-prod (mdb)
* changes: Translation tweaks. Migrated context menu to be a PopupMenu instead. Add column for call mapping id to AnnotatedCallLog database. Don't force open keyboard when RTT is active.
2018-05-04Tuned Speed Dial UI according to red lines.calderwoodra
Bug: 78490736 Test: manual PiperOrigin-RevId: 195161904 Change-Id: I7d3600267223fcfafae42f3f52bfd6cfff8b9146
2018-05-04Update targetSdkVersion to 28maxwelb
Bug: 79153175 Test: Compiled and verified that merged manifest had targetSdkVersion=28 PiperOrigin-RevId: 195145440 Change-Id: I12cde947d8fe8594f91bcc3dacdba6f9c72ac84a
2018-05-04Translation tweaks.zachh
Bug: 36922756 Test: none PiperOrigin-RevId: 195136037 Change-Id: I481fbbc771d2e91eed54993163912a139483b6ca
2018-05-04Migrated context menu to be a PopupMenu instead.calderwoodra
This gives us huge amounts of functionality with very little technical cost but some trade off in UX. Bug: 77761183,78492250 Test: existing PiperOrigin-RevId: 195133774 Change-Id: I57e48b5defc4ae1c7bfbed13e3fbc16ebd607944
2018-05-04Add column for call mapping id to AnnotatedCallLog database.wangqi
This will ensure call mapping used by RTT etc. won't break when migrating to new way to generate the call mapping id since they are stored in the database already. Bug: 77717594 Test: unit tests PiperOrigin-RevId: 195132562 Change-Id: Ieb52489b19b37ac2701967eb570a96457ceed4c0
2018-05-04Don't force open keyboard when RTT is active.wangqi
Bug: 79094585 Test: manual PiperOrigin-RevId: 195130360 Change-Id: I2763ddd950d0fe2479b442fe18363b8ec45a3178
2018-05-04Set description of spam blocking promo notification to big text so it won't getAndroid Dialer
cut off. Test: N/A PiperOrigin-RevId: 195116198 Change-Id: Ic0802144c6e52ec56e14ceb012bee1b6c774f826
2018-05-04Replace DuoConstants with interface.twyen
They are not constant across different Duo implementations. TEST=TAP Bug: 76430187,78783816 Test: TAP PiperOrigin-RevId: 195001650 Change-Id: I4356d04c9eeac50fefd41e1142f3123591e93bc0
2018-05-04Add content description to GlidePhotoManager.calderwoodra
Pulled this out of the previous CL to investigate why it breaks some of our tests. Test: tap PiperOrigin-RevId: 194983149 Change-Id: I07cbb956b5d15315f6b258ff534dd2c3e1cc9f9a
2018-05-04Fixed labels for speed dial UI.calderwoodra
Bug: 78922118 Test: tap + manual PiperOrigin-RevId: 194971448 Change-Id: I906250cb83c17198fac87f5ad6d3014cc8a34db2
2018-05-04Merge "Fixed speed dial remove."android-build-prod (mdb)
2018-05-04Merge "Select SIM when calling back from call log."android-build-prod (mdb)
2018-05-03Change bottomsheet peek height.calderwoodra
Additionally, change the style of the bottom sheet to unbreak AOSP. Bug: 79150335 Test: manual PiperOrigin-RevId: 195169624 Change-Id: I86d2f5b7931b3c928252c5d5e1e6eef6973a35cd
2018-05-03Updated bottomsheet to be scrollable.calderwoodra
Follow-up CLs will include: - white bottom nav - setting status bar color when expanded, translucent otherwise - automatically dismissing the bottomsheet onPause in calllog/vvm Bug: 73495458,77761183,77812338,77816530,77833456 Test: manual PiperOrigin-RevId: 194967761 Change-Id: Iea81035efd06ae7692950ca1f11757b7d9ebfd1c
2018-05-02Add application generation for root component generator.weijiaxu
Test: check code of generated application. PiperOrigin-RevId: 195121315 Change-Id: I213770a2bb5dca7e565ee1006d7044c2e7acc6d9
2018-05-02Fixed speed dial remove.calderwoodra
App would crash when users attempted to remove a starred contact because we try to update Phone.CONTENT_URI, which is not allowed. Test assumed that we could update PHone.CONTENT_URI, which is why this wasn't caught. Updated the test to verify the contact in Contacts.CONTENT_URI get updated to starred = 0. Unforunately, since fakeContentProvider doesn't work exactly like cp2, the update won't propogate to Phone.CONTENT_URI, so out test is less than ideal, but it should cover our bases. Also updated the image and text for starring a suggestion. Bug: 78923466 Test: tap PiperOrigin-RevId: 194962080 Change-Id: I9f8f71d70ba83510682890917081380a3c51cd7a
2018-05-02Select SIM when calling back from call log.twyen
Previously the NUI call log call backs with whatever SIM the call was made/received in, which is inconsistent with the old UI. The Old UI behavior should be kept. TEST=TAP Bug: 78291136 Test: TAP PiperOrigin-RevId: 194878167 Change-Id: If9c5adcbed6a194c801d2b558abb45573b97d2ae
2018-04-30Cancel all legacy voicemail notification when SIMs are removed on multi-SIM ↵twyen
devices When the SIM is removed, telephony will signal cancel notifications on the "null" account (the framework doen't know what was there.). Previously this has no effect. In this CL, all legacy voicemail notifications are removed since all SIM will be removed together. TEST=TAP Bug: 78446801 Test: TAP PiperOrigin-RevId: 194856211 Change-Id: I5df97f0c73e0644daa46ab182f19e60044e39d96
2018-04-30Fix bug that transcript button is visible for voice call.wangqi
Bug: 78653623 Test: manual PiperOrigin-RevId: 194851988 Change-Id: I55f75dc35ffc4fb0638dfc1727a1cd554fa67cdb
2018-04-30Refactor PreferredAccountWorker to provide the dialog to be shown.twyen
When dual SIM selection support is added to In Call UI it was a rush order and codes are duplicated. This CL moves the duplicated logic into PreferredAccountWorker so the same dialog can be shown for both. TEST=manual Bug: 69675796,72618783 Test: manual PiperOrigin-RevId: 194845320 Change-Id: Id283ca7616580b0efd4e8f02e63691c70ee7f93c
2018-04-30Implement "Add to favorites" option in suggestions menu.calderwoodra
Bug: 77761183 Test: SpeedDialIntegrationTest PiperOrigin-RevId: 194687428 Change-Id: Ib542122c1ff3104fcb4c08cb7bcbb7f1deb20d76
2018-04-28Updated logic on showing voice/video/sms options in favorites menus.calderwoodra
Bug: 78492066 Test: numerous PiperOrigin-RevId: 194635336 Change-Id: I7be0efad4dc9e11beceb02c9b2f4c719d29dbbd1
2018-04-28Implemented remove starred contact from speed dial fragment.calderwoodra
This is triggered by long pressing a SpeedDialUiItem and selecting remove in the resulting menu. This will remove it's assocaited entry from the SpeedDialEntry database and if the contact associated with the SpeedDialUiItem being removed only has one speed dial entry, additionally we will unstar the contact as well. Bug: 77761023 Test: WIP PiperOrigin-RevId: 194606709 Change-Id: I4d6fb104a388c39c77796f7626cd63e991303a51
2018-04-28Logging for background calling and HFP device support.yueg
Bug: 74022483,74238896 Test: InCallPresenterTest, AudioRouteSelectorDialogFragmentTest PiperOrigin-RevId: 194589147 Change-Id: If8c6e79838d27b1ca33ed677c19f6555cbdb4494
2018-04-28Handle missing permission.READ_CALL_LOG when initializing the badge for ↵linyuh
missed calls. Bug: 78458610 Test: MainActivityOldPeerTest PiperOrigin-RevId: 194555035 Change-Id: Ib3ef02ec3f4a8ce7cfce6d052fce3b9b6daf75e5
2018-04-26Show Cequint info in the new call log.linyuh
Bug: 70989584 Test: PhoneLookupInfoConsolidatorTest PiperOrigin-RevId: 194494486 Change-Id: I706802c000da953f962786bd07ca5da2fd59dc8a
2018-04-26Implement CequintPhoneLookuplinyuh
Bug: 70989584 Test: CequintPhoneLookupTest PiperOrigin-RevId: 194493484 Change-Id: I59f9b334f0a218e7ba1c34948db4ddbf11490df3
2018-04-26Fix impression logging for spam blocking promo dialog shown in after callAndroid Dialer
notification. Test: N/A PiperOrigin-RevId: 194465415 Change-Id: Ica9301f4315b549c343112a824c8f7c51213bb99
2018-04-26Build out the bottom sheet for suggested contacts in Speed Dial.calderwoodra
The bottom sheet should include: - contact row - voice call - video call - sms - divider - add favorite (follow up) - remove (follow up) - contact info Bug: 77761183 Test: WIP PiperOrigin-RevId: 194440839 Change-Id: I78e0e0fc0a4834338a59b458fe7639786de57877
2018-04-25Persist contacts pinned positions in speed dial.calderwoodra
Bug: 78491298 Test: WIP PiperOrigin-RevId: 194323952 Change-Id: I6883ce1506684c93cb5538ebbc0e14aecc300a00
2018-04-25Show clear frequents option in the toolbar if there are suggested contacts.calderwoodra
Bug: 36841782 Test: SpeedDialAdapterTest PiperOrigin-RevId: 194210091 Change-Id: I5b8ad5ca43ee6f519de09ad2a8b1b959637a825b
2018-04-25Make SIM Selection hint multi-linetwyen
SIM names can be really long and might be truncated if the template placed it at the end of the string. Also removed the char limit on the hint. TEST=TAP Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194163675 Change-Id: I8ee43ce87da80bc6438d2eaad480c63a0d89fbe2
2018-04-25Convert CequintCallerIdContact into an @AutoValuelinyuh
Bug: 70989584 Test: None PiperOrigin-RevId: 194161852 Change-Id: I35e0748ab634a84f6b6a19b790bfc55090026a35
2018-04-25Newly starred SpeedDialUiItems now have SpeedDialEntry ids set.calderwoodra
Bug: 78241895 Test: numerous PiperOrigin-RevId: 194147693 Change-Id: I9e9947ad689c5bf24dd52e37787f4138a92f5238
2018-04-25Disable entries in CallingAccountSelector that are not selectabletwyen
This CL also unifies the disabled color for primary and secondary text. The in call UI dialog will be implemented in a followup CL. TEST=TAP DEFAULT_VALUE_OK=no server. Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194147061 Change-Id: I5be5a45a7df09061a3bf391f6ae2a32d9c73b6e3
2018-04-25Add "enabled" to SelectPhoneAccountDialogFragment.twyen
This is used to inform the user an account cannot be used right now. On most dual SIM devices, only a single SIM can make calls at the same time. The UI will be implemented in a followup CL. This CL also packs the parameters of SelectPhoneAccountDialogFragment into a proto. There are too many arguments and it needs structured representation. TEST=TAP Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194139636 Change-Id: I7d9f92c73b650654fff28ba625a2c8e3dfa0b96c
2018-04-25Add skeleton for CequintPhoneLookuplinyuh
Bug: 70989584 Test: CequintPhoneLookupTest PiperOrigin-RevId: 194133375 Change-Id: I10fb22c0c92b2d79f4d8287316e7a0373c09a72e
2018-04-25Log send button impressions for RTT call.wangqi
Bug: 78243122 Test: none PiperOrigin-RevId: 194128823 Change-Id: Ic886fd9c2236bbac4cbc884b7d777cea20451f0b
2018-04-25Expose active calls from in call UItwyen
Dual SIM features need to know what phone account the current call is using because usually only one SIM can be in a call at the same time. TEST=TAP Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194121273 Change-Id: I512eb7aca2050f38449b0a911dea9cee9b5ffdb5
2018-04-24Don't allow reporting a inaccurate number for a voicemail call.linyuh
Bug: 78291768 Test: ModulesTest PiperOrigin-RevId: 194114862 Change-Id: Iee367be53ffff5226a818ebb4af69ddd55054812
2018-04-24Add impression logging for RTT callwangqi
Bug: 78243122 Test: CallListTest PiperOrigin-RevId: 194111299 Change-Id: I8cb3a0266b6796321e83a2a703630a745879be97
2018-04-24Don't show SIM selection and swap SIM for emergency calls.twyen
TEST=TAP Bug: 73012833,73718978 Test: TAP PiperOrigin-RevId: 194110263 Change-Id: I54dbbaada89e4974030e0b3a397040d4d686bcae
2018-04-24Update emergency wifi calling stringtwyen
Set content description for dialpad hint TEST=manual. Bug: 77653768,78286138 Test: manual. PiperOrigin-RevId: 194110061 Change-Id: If0adf10aedf606ed4a6fa1bbff23a887c3777d48
2018-04-23SpeedDialEntries with default numbers now properly show up.calderwoodra
This change includes: - fixing an issue where default numbers were being removed when inserting duo channels. - setting a max height on the disambig dialog scrollview because it was causing accessibility issues (and will be needed later). Test: SpeedDialIntegrationTest, SpeedDialUiItemLoaderTest PiperOrigin-RevId: 194023169 Change-Id: I4896fb5dbbb99aefd9713c6768ea9c07ca906d6d
2018-04-23Add spam blocking promo notification after user reports spam in after callAndroid Dialer
notification. Bug: 76436793 Test: SpamNotificationServiceTest PiperOrigin-RevId: 194006876 Change-Id: I7325599cc5581200f124a8fb64a8f4938675c734
2018-04-23Implement display name ordering in Speed Dial fragment.calderwoodra
Bug: 77724765 Test: manual PiperOrigin-RevId: 194001119 Change-Id: I6bef1f746e39c36df5daf5938c774041b0f0f47e
2018-04-23Implemented context menu actions.calderwoodra
Actions implemented in this CL: - placing a voice call - placing a video call - opening an sms conversation - opening a contact card Remove action will be implemented in a follow up CL. Made a few adjustments to the context menu UI. Bug: 77761023 Test: ContextMenuTest PiperOrigin-RevId: 193994428 Change-Id: I85b328f5820175ff91514c0057267b85649b0755
2018-04-23Show the caller name obtained via CNAP in the new call log.linyuh
Bug: 70988915 Test: PhoneLookupInfoConsolidatorTest PiperOrigin-RevId: 193979609 Change-Id: I7084bad0d7bb85c804b5fe365d5a6ddbc4ad66ab
2018-04-23Bump version codes and name to v21Android Dialer
Test: n/a PiperOrigin-RevId: 193977078 Change-Id: I17fa9b4acb3867c75ff65b5a6edcdd30e15990f8
2018-04-23Implement CnapPhoneLookuplinyuh
Bug: 70988915 Test: CnapPhoneLookupTest PiperOrigin-RevId: 193968830 Change-Id: I7f0c8468472e831699e56e399060067286e3ea0d
2018-04-19Use PreCall.start instead of context.startActivity when starting calls from ↵zachh
call log. For some reason not understood, startActivity with the call intent causes the current activity (MainActivity) to be paused, resumed, and paused again. This results in an opportunity to double-tap the row which causes the InCallUi to open in bubble mode (this is also not well understood). In any event, PreCall.start eventually uses TelecomManager to place the call rather than startActivity, which is presumably the thing that fixes the problem. Also refactored TestPreCallModule to remove the many test implementations of PreCall and remove the static field in the module which could cause test interference. TEST=manual Bug: 78187587 Test: manual PiperOrigin-RevId: 193596093 Change-Id: I933020d33db1c158628f14b30c2681c59c86201b
2018-04-19Support extracting info from a Call in PhoneLookuplinyuh
Bug: 70988915 Test: CompositePhoneLookupTest, PhoneLookupTest PiperOrigin-RevId: 193592973 Change-Id: I27b6a63049117ce6d31e50aea9c56c14f01d0e1d
2018-04-19If the Speed Dial contact only has one channel, place the call immediately.calderwoodra
If the disambig dialog would only show one option, just skip the dialog and place the call directly. Don't save the number as a default entry though because the contact could potentially change later (become duo reachable, get another number, ect.) Bug: 36841782 Test: SpeedDialIntegrationTest PiperOrigin-RevId: 193555958 Change-Id: Icbb7e876b7a7c5aaa979980249bf074ec1d7a395
2018-04-19Implement remember this choice in SpeedDialEntry database.calderwoodra
In order to connect SpeedDialUiItems to the correct SpeedDialEntry in the database, we need to pipe the entry ID throgh to the UI item. So this change includes the logic to pipe the id as well. Bug: 36841782,77760800 Test: DisambigDialogTest PiperOrigin-RevId: 193550938 Change-Id: I6ec64d0aec7f85d36555707a54953bfdff938bb5
2018-04-19Change RttTransciptUtil methods to return ListenableFuture.wangqi
Bug: 70177426 Test: RttTranscriptUtilTest PiperOrigin-RevId: 193549902 Change-Id: Icb10e44edf32ef7913783628b38861465d0f6c93
2018-04-19Update RTT transcript screen.wangqi
1. default to show first message 2. fix bug that first timestamp is not full format when it's grouped with previous messages Bug: 70177426 Test: RttTranscriptAdapterTest PiperOrigin-RevId: 193542992 Change-Id: Ic7a00f1fad8a9305b6fc1111783d589cc7956d58
2018-04-18Implement adding favorites.calderwoodra
This change deletes the AddFavoritesActivity in favor of the activity provided to us by the Intent.ACTION_PICK intent. Bug: 36841782 Test: SpeedDialUiItemLoaderTest PiperOrigin-RevId: 193439522 Change-Id: Ie297abd2307c727d746f26ba99961de116636dc4
2018-04-18Add support for adding module in the same class annotated with ↵weijiaxu
@DialerRootComponent. Test: local test. PiperOrigin-RevId: 193435828 Change-Id: Ieb2be7c7d3e2861c0d2f32f1461535e439dbcb1a
2018-04-18Support placing a call with assisted dialing in the new call log.linyuh
Bug: 70988691 Test: ModulesTest PiperOrigin-RevId: 193434411 Change-Id: I3fe493eeb2869cad0d42ccf08d57018a42b1b84e
2018-04-18Added duo channels to favorite contacts and duo suggestions.calderwoodra
Bug: 36841782,77724710,77760800 Test: SpeedDialUiItemLoaderTest PiperOrigin-RevId: 193432314 Change-Id: If9e0aa05b1aeb266960281ac13218091882ff4c3
2018-04-18Reduce the number of parameters when building bottom sheet options for ↵linyuh
telecom/Duo calls. Bug: 70988691 Test: ModulesTest, DuoCallModuleTest PiperOrigin-RevId: 193431749 Change-Id: I2af9979504b99175513cb753a030244f735828be
2018-04-18Multi-HFP device support for audio selector.yueg
Test: BluetoothDeviceProviderTest PiperOrigin-RevId: 193401073 Change-Id: I3483392d1d7a473a753477074b5c377af257186e
2018-04-17Add spam blocking promotion after showing spam dialog in after-callAndroid Dialer
notification Test: N/A PiperOrigin-RevId: 193290689 Change-Id: Idff99e2f67d5161d09b7ea3c0818ed92d2286b61
2018-04-17Improved support for short codes in Coalescer.zachh
Use ShortNumberInfo to identify shortcodes and apply more basic matching for them; without this short codes like '5555' and '55555' would match due to being a SHORT_NSN_MATCH even though they should not match. Also removed the PhoneNumberUtil argument from DialerPhoneNumberUtil's constructor as it was always PhoneNumberUtil.getInstance(). (This allowed me to do a similar thing for ShortNumberInfo.getInstance()). TEST=unit Bug: 71586485 Test: unit PiperOrigin-RevId: 193288929 Change-Id: Ia16c78e7eee5e0912d3913660952b9ee32713731
2018-04-17Added logging for contacts provider metrics.zachh
TEST=unit Test: unit PiperOrigin-RevId: 193288015 Change-Id: I350fa06cb96ff1887c428c8d60c489ddf0da81f6
2018-04-17Don't slide the toolbar up if we've scheduled a runnable to slide it up.calderwoodra
Bug: 78132954 Test: listnr PiperOrigin-RevId: 193279654 Change-Id: I0d6e2e39d2f695b2e7d51ddf8c5abbc689187fbd
2018-04-17Improved handling of IS_READ in new call log.zachh
It is not marked "not null" in the system call log and our simulator gives it null data, so handle it more gracefully to be on the safe side. Also enforce "not null" for IS_READ and NEW in annotated call log as I observed that happening somehow (possibly from older builds though). TEST=existing Test: existing PiperOrigin-RevId: 193271095 Change-Id: I780db20c9d6ea5cf5e1d757def9ea06b492267c1
2018-04-17Add RTT transcript screen.wangqi
Bug: 67596257 Test: CallDetailsCursorLoaderTest PiperOrigin-RevId: 193259769 Change-Id: I8c6a8eb9a6bf06e9c1c25c45fc035f8db8ae5a65
2018-04-17Migrate SpeedDialUiLoader to use contact lookup URIs.calderwoodra
The changes in this CL improve the loader in the follow ways: - Speed: by reducing the number of queries - Long term accuracy: by using lookup URIs This change also adds ViLTE presence and contact labels to the results returned by the Loader. Bug: 36841782,77724710,77725860 Test: SpeedDialUiLoaderTest PiperOrigin-RevId: 193235046 Change-Id: If5e6aa821c8bad88dc77af81827abbd8e0f1b28e
2018-04-17Export activities with exported aliases.calderwoodra
Bug: 77974883 Test: tap PiperOrigin-RevId: 193225925 Change-Id: I0698abffa232a2e3a575de80642005b454a743ca
2018-04-16Fix the calculation of day difference in the new call log.linyuh
Test: CallLogDatesTest PiperOrigin-RevId: 193124157 Change-Id: I552bf7fa50142dd51c9a7dda9eaceb7d445607fb
2018-04-16Fix bug that new call details is empty.wangqi
RTT transcript needs to be loaded after call details is loaded. Test: OldCallDetailsActivityTest,CallDetailsActivityTest PiperOrigin-RevId: 193113115 Change-Id: I86e64ac00b17549864ed0778f79ec3aee58b7a1a
2018-04-16Don't show the Duo disclosure card if it's been viewed for more than 1 day.linyuh
Bug: 70989614 Test: NewCallLogAdapterTest PiperOrigin-RevId: 193101600 Change-Id: I52b0db9dc03d5e44cad7462403c2639fb33b5f33
2018-04-16Remove column PHONE_ACCOUNT_LABEL and PHONE_ACCOUNT_COLOR from the annotated ↵linyuh
call log. Bug: 77808449 Test: NewCallLogViewHolderTest + existing tests for the call log framework PiperOrigin-RevId: 193086917 Change-Id: I39244c69acf1d261699610f6010c0cf147ca3492
2018-04-16Don't close search if the user leaves with the dialpad open.calderwoodra
Bug: 77736276 Test: MainActivityOldPeerSearchIntegrationTest PiperOrigin-RevId: 193081987 Change-Id: I466b6094f4d7851033be3bf68f170485a2ec733d
2018-04-13Implement drag to remove contacts in SpeedDialFragment.calderwoodra
Bug: 36841782 Test: manual PiperOrigin-RevId: 192828773 Change-Id: Id9066346e6b2a03f672ce3ad11027f15adfbb7e6
2018-04-13Animate duo disclosure dismissal.calderwoodra
Test: tap PiperOrigin-RevId: 192825959 Change-Id: I814537b08d9afd678c1cb88e6012e60e5511b6bb