Merge "Fix system watchdog timeout when reading too many usage events." am: 10b0bae06f
am: b3d48f18a9
* commit 'b3d48f18a94c586823462c93fc0f739c83f3db78':
Fix system watchdog timeout when reading too many usage events.
This commit is contained in:
@@ -218,7 +218,7 @@ public class UsageStatsService extends SystemService implements
|
|||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
mScreenOnTime = readScreenOnTimeLocked();
|
mScreenOnTime = readScreenOnTimeLocked();
|
||||||
}
|
}
|
||||||
mDisplayManager.registerDisplayListener(mDisplayListener, null);
|
mDisplayManager.registerDisplayListener(mDisplayListener, mHandler);
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
updateDisplayLocked();
|
updateDisplayLocked();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user