summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/spam
AgeCommit message (Collapse)Author
2018-07-10Update translation strings.Eric Erfanian
Test: make Change-Id: Ib75f4f25e91067311de244d7f1fb95bc898aec22
2018-06-12Delete checkSpamStatusForInCallUimaxwelb
Test: Tap PiperOrigin-RevId: 200252072 Change-Id: I25aea0e324b070d0f8553cb0041c6b3e9668552e
2018-06-01Inlined ConfigProviderBindings.get() and removed ConfigProviderBindings.zachh
It no longer provides any value, so just use dagger directly. Bug: 80441695 Test: tap PiperOrigin-RevId: 198806461 Change-Id: Id607abb65b77633bce511ad0c943ac19453a85d5
2018-06-01Add new spam API which can query additional data.maxwelb
Bug: 80303132 Test: InAppSpamTest, verified using Blueline device PiperOrigin-RevId: 198801576 Change-Id: I30f8c0c7c850ac4bd7b6fcf2dad18c0d70f1b2d1
2018-05-29Converted ThemeUtil into a DaggerModule.calderwoodra
This enables us to have Google-Sans font in GoogleDialer and Roboto in AOSP. Bug: 79883035 Test: tap PiperOrigin-RevId: 197774497 Change-Id: I1d490ab196a444c62e439444627d659fc42973ea
2018-05-21Implement a global theme to be easily configured in Dialer.calderwoodra
deleted several colors and unified them across the app migrated several alert dialogs to support alert dialogs added many todos migrated several tests from GoogleRobolectricTestRunner to RobolectricTestRunner Because of the test migration: - moved dialpad theme attributes into dialpad/theme - moved incall ui theme attributes into incallui/theme Bug: 79883035 Test: tap PiperOrigin-RevId: 197246477 Change-Id: Ifc534793bc32757bbbf2007a7c40287c8d0817ad
2018-05-18Don't show an outgoing call to a spam number as spam.linyuh
Bug: 79770053 Test: SpamTest + Existing tests PiperOrigin-RevId: 197201496 Change-Id: Iff2eb03d00d3b559d2a008487b19a2d044b2cb5b
2018-05-18Cleaned up deps in SpamBlockingPromoHelperTest.zachh
Deprecated RobolectricApplication. RobolectricApplication uses RobolectricDialerRootComponent, which depends on all parts of the dialer application (CallLog, PhoneLookup, CommandLine, etc). None of these things matter for leafy unit tests like SpamBlockingPromoHelperTest and they just serve to slow down builds; both for tests that use RobolectricApplication and presubmits for all parts of the application. (Unrelated changes to the call log for example, would trigger this test on presubmit because this test depends on call log when it shouldn't.) TEST=yes Test: yes PiperOrigin-RevId: 197193370 Change-Id: I425351eef2954d105ac7fc7c4120767d275a4fc8
2018-05-17Update spam blocking promotion wordings.Android Dialer
Bug: 79884797 Test: N/A PiperOrigin-RevId: 197092298 Change-Id: I2f94f9a66a2530a5f2d0ad6630993a2e7b2b4bb8
2018-05-17Use StorageComponent to get SharedPreference in SpamBlockingPromoHelperAndroid Dialer
Test: SpamBlockingPromoHelperTest PiperOrigin-RevId: 197068358 Change-Id: Ic4b69781d0b32035c7d12d91d27e85d99e7d3732
2018-05-15Move SpamStub to separate package.wangqi
This is necessary to avoid potential conflict binding with spam/testing on auto generated components in tests. Test: presubmit PiperOrigin-RevId: 196577184 Change-Id: I2aac0df138b7efb62cdcc35b2a79ce889d001cd8
2018-05-15Delete unused check__SpamStatus methodsmaxwelb
Test: Build PiperOrigin-RevId: 196574842 Change-Id: Id9a63d975e114ada88de8e4a482409b5b618f55e
2018-05-15Update DialerCall to use SpamStatus instead of booleansmaxwelb
Test: Tap PiperOrigin-RevId: 196562314 Change-Id: Ie90a5ad183d4fb65ff512ea158a8687fe1f77963
2018-05-11Add SpamMetadata to SpamStatusmaxwelb
Test: Tap, metadata not currently used anywhere PiperOrigin-RevId: 196198986 Change-Id: I1902e527b2c5ab826e31425aab6d9b81f11fd009
2018-05-09Add some annotations that won't influence aosp.weijiaxu
Test: blaze test. PiperOrigin-RevId: 196047666 Change-Id: Ia54e342113f9dbc9fe884b9a85d0f4db33f94cf5
2018-05-09Hide new after call spam blocking promo behind an additional flag.Android Dialer
Test: N/A PiperOrigin-RevId: 195995975 Change-Id: I0311770eecdf36f275d81ba481098259344cbf5b
2018-05-09Add GlobalSpamListStatus and UserSpamListStatusmaxwelb
Test: Build PiperOrigin-RevId: 195502147 Change-Id: I5f88fb91e52f36da73725e392dee8dfef2666be0
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-09Add ListenableFuture based APIs for checkSpamStatusmaxwelb
Bug: 79171382 Test: Tap, manually verified incoming spam call PiperOrigin-RevId: 195472160 Change-Id: I0cda8f36b350a9fc03e098667e8bd83ad8b1d161
2018-05-09Add SimpleSpamStatus and use it in FakeSpam and SpamStubmaxwelb
Test: Tap PiperOrigin-RevId: 195453152 Change-Id: Ida07f465a832e3541d4c9f6abad97b633c38ac13
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-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-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-17Add spam blocking promotion after showing spam dialog in after-callAndroid Dialer
notification Test: N/A PiperOrigin-RevId: 193290689 Change-Id: Idff99e2f67d5161d09b7ea3c0818ed92d2286b61
2018-04-10Add a flag to control whether to show spam blocking promotionAndroid Dialer
Test: SpamBlockingPromoHelperTest PiperOrigin-RevId: 192355809 Change-Id: Id9fc792b6e4649af4df588a523299a8fcf7727f0
2018-04-05Add Spam#updateSpamSync API to control when syncing the Apdl spam list is ↵maxwelb
enabled Bug: 69072794 Test: Tap PiperOrigin-RevId: 191824966 Change-Id: Ia219074f32f77f308d88e9c29edb1e56c694bcc7
2018-03-28Update spam blocking promo wordings.Android Dialer
Bug: 75308663 Test: N/A PiperOrigin-RevId: 190825933 Change-Id: Iaf112cfec81c82e127d77aedba351788a03eee54
2018-03-26Move spam setting related methods out of spam interface into a separate spamAndroid Dialer
setting interface. Test: All the existing tests PiperOrigin-RevId: 190314880 Change-Id: I030acbd70120f508c5a4616757d89113524110fa
2018-03-19Show spam blocking promo after block spam dialogAndroid Dialer
Test: SpamBlockingPromoHelperTest PiperOrigin-RevId: 189674918 Change-Id: I0b22eb9b8128125cc5b439674099820a01c3889f
2018-03-19Add spam blocking setting related operations in spam moduleAndroid Dialer
Test: InAppSpamTest PiperOrigin-RevId: 189670786 Change-Id: Ie7bf394ecc02ac647211f7375faaf3e1b48ad7dd
2018-03-09Add spam blocking setting in spam module.Android Dialer
Test: InAppSpamTest,ApdlSpamTest,VisualVoicemailUpdateTaskTest PiperOrigin-RevId: 188509191 Change-Id: I8b9c07dcc1c7b3b80ffc914ec99f4e6d80d50985
2018-02-06Include the timestamp in the data returned by the Spam interface.linyuh
Bug: 70989530 Test: Unit tests PiperOrigin-RevId: 184703655 Change-Id: I043c05a2db9f05745952ee04a84912f7540a9a17
2018-01-31Add a BatchSpamChecker for InAppSpam.linyuh
Bug: 72443587 Test: BatchSpamCheckerTest, SpamDatabaseUtilsTest PiperOrigin-RevId: 184076803 Change-Id: Ib11ca44190a28e28843ef4674c0abebc4203c46a
2018-01-24Define methods in Spam interface to be used later in the PhoneLookup for ↵linyuh
spam features. Bug: 70989534 Test: ApdlSpamTest, InAppSpamTest PiperOrigin-RevId: 183138320 Change-Id: I647568c31e234995f44d6cbeb2f97f73952db6bb
2017-12-11Update Spam module to use Daggermaxwelb
Test: TAP PiperOrigin-RevId: 178650781 Change-Id: I299907ac43d48b984b092433c9b651aadb17c62a
2017-05-03This change reflects the Dialer V10 RC00 branch.Eric Erfanian
RC00 is based on: branch: dialer-android_release_branch/153304843.1 synced to: 153304843 following the instructions at go/dialer-aosp-release. In this release: * Removes final apache sources. * Uses native lite compilation. More drops will follow with subsequent release candidates until we reach our final v10 release, in cadence with our prebuilt drops. Test: TreeHugger, on device Change-Id: Ic9684057230f9b579c777820c746cd21bf45ec0f
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