Repository navigation
Conversation
The feature was not requested by any user (#484 was maintainer-filed), its Google Messages counterpart had already been removed, and it produced reminders for months-old threads in #604. Delete ReplyNudge, ReplyNudgePolicy and ReplyNudgeScheduler, the settings row, its interval dialog and search entry, the strings in all 14 locales, the send-path cancel and the row query. The notification channel goes with it. An install that had the switch on keeps the old worker, card and channel otherwise, and the worker class no longer exists to run: MessagesApplication cancels messages-reply-nudge and messages-reply-nudge-check, drops any nudge-tagged card and deletes the messages_nudge channel. Tests: ReplyNudgeRemovalTest (sources, settings, upgrade cleanup); scripts/test-reply-nudge-removed.sh seeds the old preference and a two-day-old read thread and asserts no card, no active channel and a running app (7/7 on emulator-5558).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reply nudges are removed. The feature was not requested by any user (#484 was maintainer-filed), Google Messages had already dropped its counterpart, and it produced reminders for months-old threads in #604.
Removed
ReplyNudge,ReplyNudgePolicy,ReplyNudgeSchedulerand their testsUpgrade path
An install that had the switch on would otherwise keep the queued worker, its card and its channel, while the worker class no longer exists to run.
MessagesApplicationnow cancelsmessages-reply-nudgeandmessages-reply-nudge-check, drops anynudge-tagged card and deletes themessages_nudgechannel.Verification
./gradlew testDebugUnitTestgreen, includingReplyNudgeRemovalTest.scripts/test-reply-nudge-removed.sh7/7 onemulator-5558: seeds the old preference and a two-day-old read thread, then asserts no card, no active channel, no "Reply to" card and a running app.