commit | 6b2d4ffb966e29fe77a4f42748c93ac8e9063dcc | [log] [tgz] |
---|---|---|
author | Devi Sandeep Endluri V V <dendluri@codeaurora.org> | Thu Jan 03 11:47:39 2019 +0530 |
committer | rohan <purohit.rohan@gmail.com> | Sat Aug 01 05:17:25 2020 -0400 |
tree | bf4619d2ba59c8b56c880610c9ad3743b154660c | |
parent | b599ee2c2cd3a6404fe4c7c616d15d5a434cc0c9 [diff] |
Add synchronization for invokeForAllObservers call invokeForAllObservers can be called from different threads. So, there might be a scenario where beginBroadcast is done before endBroadcast is complete. Synchronize to avoid this issue. Change-Id: I7b3133a2c74fcd5a15292f2ad8be314e69be9e9a CRs-Fixed: 2306751 Signed-off-by: DennySPB <dennyspb@gmail.com>