Skip to content

Commit

Permalink
Remove default of 1 for profile
Browse files Browse the repository at this point in the history
  • Loading branch information
danesfeder committed Apr 6, 2018
1 parent d0f62fe commit 8ba0179
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ private boolean getShouldSimulateRoute() {

private String getRouteProfile() {
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);
return sharedPreferences.getString(getString(R.string.route_profile_key), DirectionsCriteria.PROFILE_DRIVING_TRAFFIC);
return sharedPreferences.getString(
getString(R.string.route_profile_key), DirectionsCriteria.PROFILE_DRIVING_TRAFFIC
);
}

private void launchNavigationWithRoute() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
android:entryValues="@array/unit_type_values_array"
android:defaultValue="-1"/>
<ListPreference
android:defaultValue="1"
android:entries="@array/route_profile_array"
android:entryValues="@array/route_profile_values_array"
android:key="@string/route_profile_key"
Expand Down

0 comments on commit 8ba0179

Please sign in to comment.