refactor: assign appgroup data keep synced #885
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.
之前的 groupmanager 管理分组内 item 的逻辑问题比较多,依次处理后仍然发现行为不符合预期,故决定直接复用启动器现有的分组管理逻辑(略有调整以对接原有 dconfig 配置)。
此提交起,应用信息即会自动分配分组(新应用分配到顶层分组,即编号 0 的文件夹,原有已知存在分组的应用保持不变),应用模型变动时即存储信息回 dconfig。