-
Notifications
You must be signed in to change notification settings - Fork 319
Add internal package to libnavigation-util #2820
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
Conversation
2874a7c to
d78a836
Compare
| package com.mapbox.navigation.trip.notification.utils.time.span | ||
|
|
||
| internal interface SpanItem { | ||
|
|
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.
want this space?
8423f0e to
919b8a0
Compare
919b8a0 to
1418ecf
Compare
| Logger::class.java to MapboxModuleProvider.createModule( | ||
| MapboxModuleType.CommonLogger, | ||
| ::paramsProvider |
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.
Regression from #2774 cc @Lebedinsky @LukasPaczos
| NavigationOptions::class.java to navigationOptions | ||
| ) | ||
| MapboxModuleType.CommonLogger -> arrayOf() | ||
| MapboxModuleType.CommonLogger -> arrayOf(Logger::class.java to logger) |
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.
Regression from #2774 cc @Lebedinsky @LukasPaczos
| MapboxOnboardRouterConfig::class.java to (navigationOptions.onboardRouterConfig | ||
| ?: throw RuntimeException(MAPBOX_NAVIGATION_TOKEN_EXCEPTION_ONBOARD_ROUTER)) | ||
| ?: throw RuntimeException(MAPBOX_NAVIGATION_TOKEN_EXCEPTION_ONBOARD_ROUTER)), | ||
| Logger::class.java to MapboxModuleProvider.createModule( |
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.
this could be Logger::class.java to logger
Description
This PR adds
internalpackage tolibnavigation-utilSplitting #2417 in different PRs
Follow up from #2811
As this is going to be a big refactor the plan here is to open small PRs and move stuff incrementally making the review easier. Even trying to do so this first PR included changes in 64 files (mostly moving files around)
bug,feature,new API(s),SEMVER, etc.)Goal
The goal here is to add
internalpackage to1.0modules and the APIs designed only for local usageImplementation
internalpackageinternalmodifierTesting
SNAPSHOTupstream dependencies if needed) through testapp/demo app and run all activities to avoid regressionsChecklist
CHANGELOGincluding this PR