Skip to content

删掉遮挡抽取后的残留与多余资源目录 - #13

Merged
PathGao merged 2 commits into
mainfrom
code-tidy
Oct 3, 2026
Merged

PathGao merged 2 commits into
mainfrom
code-tidy

Conversation

@PathGao

@PathGao PathGao commented Oct 3, 2026

Copy link
Copy Markdown
Owner

改了什么

  • 删掉 RealFeedController.removeMasks(),它是抽出 FeedMask 后只剩一句 masks.clear() 的空壳。
  • DiagnosticsActivity 删一个没用的 import,dp() 改为调用 ProductUi.dp,不再抄一份公式。诊断页统计说明“小红书实验筛选”改为“真实应用实验筛选”,抖音、快手同样不计统计。
  • mipmap-anydpi-v26 改名 mipmap-anydpi:minSdk 30,-v26 多余(lint ObsoleteSdkInt)。图标说明同步路径。

验证

scripts/build-local.sh --no-daemon -Pkotlin.compiler.execution.strategy=in-process :app:testDebugUnitTest :app:lintDebug :fixture:lintDebug :app:assembleDebug :app:assembleRelease :app:compileDebugAndroidTestKotlin :fixture:compileDebugAndroidTestKotlin
python3 -m unittest discover -s validation/clef -v

42 项 JVM、9 项 Python 测试通过,lint 警告 18 → 17。没跑设备测试,改动在编译期或只在真实小红书遮挡时才走到。

删掉 RealFeedController 只转发的 removeMasks、诊断页未用 import 和重复的 dp 公式;minSdk 30 下 mipmap-anydpi-v26 改为 mipmap-anydpi;统计说明改为真实应用实验筛选不计入话题。
@PathGao
PathGao merged commit 9bce0fe into main Oct 3, 2026
4 checks passed
@PathGao
PathGao deleted the code-tidy branch October 3, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant