-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency on BindingContextFactory #909
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for running with this @osana!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @osana 🚢
As commented in #908 (comment)
Let's make sure that we remove the Proguard rule from the Maps and Navigation SDKs (I believe these are the only ones including it) when OP gets released @danesfeder @tobrun |
@@ -184,14 +184,14 @@ private void errorDidOccur(@Nullable Callback<DirectionsResponse> callback, | |||
Converter<ResponseBody, DirectionsError> errorConverter = | |||
getRetrofit().responseBodyConverter(DirectionsError.class, new Annotation[0]); | |||
if (callback == null) { | |||
BindingContextFactory.LOGGER.log( | |||
Logger.getLogger(MapboxDirections.class.getName()).log( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of duplicating Logger.getLogger(MapboxDirections.class.getName())
several times, could you extract it as a local private class-level variable instead?
@osana Could you ticket that out on https://github.com/mapbox/mapbox-gl-native? |
closes #852