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.
本来还想修一下闪退问题,但是堆栈里定位不到问题代码在哪
主要都是规则Fragment刷新规则的问题,线程完成的时候fragment可能已经销毁了。
闪退1 Parcel: unknown type for value AppInfos...
闪退2 Fragment AppRulesFragment ... not attached to a context.
闪退3 读取binding空指针
调的过程中还遇到主界面提示激活失败的问题,查了日志是DSP.init的时候报错java.lang.SecurityException: MODE_WORLD_READABLE no longer supported,commit记录里排查半天最后发现versionCode不能是22,改成21或者23就正常,关键之前是22也正常,不知道什么原因
算了,hook正常就行,反正平时也不打开