Repository navigation
首页加一键设置,三问写入应用、关键词和清理开关 - #15
Merged
Merged
Conversation
长辈不会逐项调设置。一键设置问三件事:哪些应用通知太多、清理哪类(促销红包、标题党、八卦和家庭争吵三组预设词)、现在清理还是只记录。答案写进原有的管理应用、关键词和清理开关,不加新机制。再走一遍只替换预设词,自己写的词保留。选中的应用去掉始终放行。还没选应用时入口排在状态卡片上方。
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.
改了什么
长辈不会逐项调设置,开清理原来要十几次点按加手打关键词。首页加“一键设置”,问三件事:
完成后写进原有的管理应用、关键词和清理开关,没有新的设置项。未授权时直接打开系统通知使用权设置。再走一遍只替换预设词,自己写的词保留。问卷选中的应用会去掉始终放行,否则选了也不清理。还没选应用时入口排在状态卡片上方,选过后移到下面。“通知清理”页不变。
已知:旧默认词“震惊内幕”被当作自写词保留,关掉标题党组后它仍生效。
验证
./gradlew :app:testOfflineDebugUnitTest :app:testOnlineDebugUnitTest :app:lintOnlineDebug :app:assembleDebug通过,新增SetupPresetsTest4 项,Lint 无新增问题。settings.xml里应用、关键词、清理开关、始终放行都符合选择,入口移到状态卡片下方。第 3 问原用分段按钮,大字号下断字,已改为开关行。ProductFlowTest等仪器测试。