Bug 473836 - ConcurrentModificationException in OverviewRuler.isCovered

Protect fAllowedAnnotationTypes and fAllowedHeaderAnnotationTypes maps
read/write code with synchronized blocks. The code can be accessed from
different threads because some annotation models (like
ResourceMarkerAnnotationModel) broadcast model changes from non-UI
thread.

Change-Id: Ie8d3dfd0fc1f764bd727726dbf45befc3de50b87
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
1 file changed