-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
There is a lot going on in this commit, but the result is an annotations API that only exposes what we have implemented. It also improves parts of the code, and fixes a bug that had not been ticketed before. I will aim to get this merged tonight, ready for Sirius build tomorrow. I have carefully tested everything with the TestApp and there should be no new bugs introduced. |
The only Travis failure was the known hang in the iOS tests. Restarting that job, if it still fails we can merge as this is an Android only change. |
@ljbade
|
@tobrun That is a strange crash, I can't see how it gets a
|
Ah might be race condition between the UI thread and the main thread. Map change event comes from main thread, other changes such as touch input come from UI thread. |
I think this crash is from changes in #2627 |
No doesn't look like map change problem since we already forward them to the UI thread. Something must be touching MapView from a non-UI thread when it shouldn't. @tobrun If you can't reproduce again, I think we can chalk it up to your device playing weird. And merge. |
@ljbade This is a LARGE change so close to launch. I'm not comfortable merging this into |
Sure, should we quickly add some do not use or not implemented javadoc to the annotation functions that don't do anything for 2.1.0 pending there removal? |
I was under the impression that these were going to be made |
@bleege OK I'll make a version of this PR that includes just those changes (make non-functional methods private). I can't make all of the internal only methods private though (that was a big part of this refactor - to make it possible to make some of them private). I'll include the |
@bleege The other thing I've been puzzling about is how Google keep the annotation classes in the Do they perhaps strip internal functions from the SDK before the publish? This is how they do it in the Android framework. |
863d68c
to
16cf809
Compare
Remove unimplemented properties. Correct defintions of equals() and hasCode(). Add setOnInfoWindowClickListener and remove old method from Marker. Refactor showInfoWindow() to remove need for exposing internal method. Make select/deselectMarker public. Add getSelectedMarker. Fix bug where you couldn't reselect a closed info window. Add empty constructor to LatLng and LatLngZoom. Fixes #2546 Fixes #2631 Fixes #2448
16cf809
to
927b4c6
Compare
Finally got this branch up to date with v2.1.0 merge. Waiting for Travis. |
Only failing on iOS due to hang in location tests. Merging. |
Remove unimplemented properties.
Make annotations immutable.
Correct defintions of equals() and hasCode().
Change anchor U/V to int.
Move .alpha to MultiPoint and anchor() to PolylineOptions and PolygonOptions.
Make InfoWindow classes package private.
Add setOnInfoWindowClickListener and remove old method from Marker.
JavaDoc internal methods with "Do not use."
Refactor showInfoWindow() to remove need for exposing internal method.
Make select/deselectMarker public. Add getSelectedMarker.
Fix bug where you couldn't reselect a closed info window.
Fixes #2546
Fixes #2448