fix(oobe): stabilize onboarding transitions - #1651
Open
badnng wants to merge 2 commits into
Hidden character warning
The head ref may contain hidden characters: "Fix/OOBE\u5f15\u5bfc\u8fc7\u7a0b\u76f8\u5173\u95ee\u9898\u4fee\u590d"
Open
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 64 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Author
|
主要改动: |
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.
修改内容
根因
OOBE 状态机推进、欢迎页异步截图和 Activity 启动原先分别执行。快速操作时,状态已经前进但目标页面尚未启动,后续 result/back 又会再次修改状态,导致跳屏和返回动画丢失。完成阶段原先清理任务栈并重新创建主页,也会产生白屏和不连续的进入动画。
状态与任务栈
is_provisioned与 Hook 门控;Debug OOBE 不写真实完成状态。CLEAR_TOP | SINGLE_TOP复用该实例。验证
./gradlew :app:assembleDebuggit diff --check