Android OS api>=28的版本Activity耗时统计不够精确
Created by: guanglixiang
Please complete the following informations.
Expected behavior and actual behavior. Steps to reproduce the problem. Android or iOS? OS version? Brand? More informations such as error messages and stack traces are welcomed.
请补充如下信息。
期望的表现和实际的表现。(如有) 统计activity耗时,当前api>=28的版本launchCost是以“android.app.servertransaction.ResumeActivityItem”为起点计算的。 实际上应该按照“android.app.servertransaction.LaunchActivityItem”计算更合理 问题重现的步骤。(如有) Android 还是 iOS?系统版本是多少?手机品牌是什么?(如有) Android 其他的错误信息和堆栈信息如果有也可以一并提供出来。(如有) 最好给我们提供可以复现问题的Demo