Disable detailed transition logs but add a summary.
On slow devices, logcat actually takes a lot of time, so turn it off by default. To maintain usefulness, though, add back some critical logging by recording important information during the transition and then logging a summary at critical points (startTransition and finish). Since the logging itself is deferred, we can put it on a low- priority thread so it doesn't impact latency. Bug: 260059642 Test: Run android-go latency tests and observe significant improvement Change-Id: I3621747f4d80a66953bda038dfc2c411dffa067d
Loading
Please register or sign in to comment