Removed eclipse warnings
in OverlayAdapter.java we're using deprecated method and constructor, as
far as I know there is no way around this.