commit | bce711ea0e1bdf1fe0b68715a63421973534a5b3 | [log] [tgz] |
---|---|---|
author | Mark Lu <Mark_Lu@htc.com> | Wed Dec 16 15:41:04 2015 +0800 |
committer | Mark Lu <Mark_Lu@htc.com> | Wed Dec 16 15:41:04 2015 +0800 |
tree | 9d3c3b72e0381e0799f033fc35cadc8b39335866 | |
parent | 6fe06606c4df39487d240cc1fa4ac6d944b33137 [diff] |
Fix batterySendBroadcast not synchronized issue. Symptom: system server crash. Root Cause: batterySendBroadcast not sychrnized with AMS object, caused system crash in broadcastIntentLocked() when 2 threads access mParallelBroadcasts.get(i).intent but get null in BroadcastQueue.replaceParallelBroadcastLocked(). Solution: add sychronization object. Change-Id: I99f751a2cd3e6fa1dbe2812f5f129525013d6a7f