diff options
author | Mark Lu <Mark_Lu@htc.com> | 2015-11-06 15:26:15 +0800 |
---|---|---|
committer | Mark Lu <Mark_Lu@htc.com> | 2015-11-09 07:24:48 +0000 |
commit | 4e59db328d8b0cc163d2e3eb0f7f3a108f20a58d (patch) | |
tree | 20e6c80dcddbc3c34d4aa655f7bd636ae0c9b3b1 /rs/java/android/renderscript/ScriptGroup.java | |
parent | 7abb36599d9537296d9a51f766152025c6ed0491 (diff) |
Fix system watchdog timeout when reading too many usage events.
Symptom:
As issue link:
https://code.google.com/p/android/issues/detail?id=193100
RootCause:
UsageStatsService.onDisplayChanged executed in system main thread,
If calling UsageStatsManager.queryEvents with too many events before it
(i.e. in daily usage event file,
too many activity resume / pause events or configuration change
during monkey test),
System will be blocked then watchdog timeout.
Solution:
Let display listener executed in background thread handler
Change-Id: Ic894d112612400ed8fb7ba843b3309fdc4f66fe1
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions