Skip to content

Commit

Permalink
Update NavigationActivity naming to avoid naming collisions (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
danesfeder authored Jun 14, 2018
1 parent 2cfbc2d commit 4b35273
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libandroid-navigation-ui/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android">

<application>
<activity android:name=".NavigationActivity"/>
<activity android:name=".MapboxNavigationActivity"/>
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
* <p>
* Demonstrates the proper setup and usage of the view, including all lifecycle methods.
*/
public class NavigationActivity extends AppCompatActivity implements OnNavigationReadyCallback, NavigationListener {
public class MapboxNavigationActivity extends AppCompatActivity implements OnNavigationReadyCallback,
NavigationListener {

private NavigationView navigationView;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static void startNavigation(Activity activity, NavigationLauncherOptions

editor.apply();

Intent navigationActivity = new Intent(activity, NavigationActivity.class);
Intent navigationActivity = new Intent(activity, MapboxNavigationActivity.class);
activity.startActivity(navigationActivity);
}

Expand Down

0 comments on commit 4b35273

Please sign in to comment.