summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Lang Yu <lyu80688@gmail.com> 2022-01-26 15:27:59 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-02-09 06:24:58 +0000
commit19758a38a4f839f7120e414c836161bf0bceb164 (patch)
tree42955917331588705bcbf5f54fe6a48bb4ff14e8 /opengl/java
parent070f2b0502faea6bf0d7900db3b2e52b964ad45f (diff)
Fix BatteryStats counts foreground activity time.
When an application crashes or ANRs in the foreground, or when the application actively commits suicide in the foreground. It is often impossible to switch to the PAUSED state of ActivityRecord. At this time, the Timer in BatteryStats cannot be terminated, and it will keep timing, which will eventually lead to errors in foreground activity time statistics. So we'll settle in the handleAppDied function to fix that. Bug: 208355716 Change-Id: I23baf545105e0bb9322dc4a1702e38e0ef825c53 Signed-off-by: unknown <80264454@adc.com>
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions