Use a different name for new strings.

This commit is contained in:
Jimmy Shih
2012-08-01 13:40:16 -07:00
parent 2dbd2ff956
commit f0de32eb04
4 changed files with 9 additions and 5 deletions
@@ -165,7 +165,7 @@ class DataSourcesWrapperImpl implements DataSourcesWrapper {
String setting = context.getString(
GoogleLocationUtils.isAvailable(context) ? R.string.gps_google_location_settings
: R.string.gps_location_access);
toast = context.getString(R.string.my_location_no_location, setting);
toast = context.getString(R.string.my_location_no_gps, setting);
}
// Let the user know we have only an approximate location:
@@ -283,7 +283,7 @@ public class MapFragment extends Fragment
String setting = getString(
GoogleLocationUtils.isAvailable(getActivity()) ? R.string.gps_google_location_settings
: R.string.gps_location_access);
message = getString(R.string.gps_need_to_enable, setting);
message = getString(R.string.gps_disabled, setting);
isGpsDisabled = true;
break;
case NO_FIX: