Skip to content

Commit

Permalink
changed Locale.getDefault() occurrences for the slightly enhanced Lan…
Browse files Browse the repository at this point in the history
…guageUtils.getCurrentDeviceLanguage()
  • Loading branch information
mzorz committed Jun 22, 2016
1 parent 3aa9746 commit b0fc653
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static Geocoder getGeocoder(Context context) {
Geocoder gcd;

try {
gcd = new Geocoder(context, Locale.getDefault());
gcd = new Geocoder(context, LanguageUtils.getCurrentDeviceLanguage(context));
} catch (NullPointerException cannotIstantiateEx) {
AppLog.e(AppLog.T.UTILS, "Cannot instantiate Geocoder", cannotIstantiateEx);
return null;
Expand Down

0 comments on commit b0fc653

Please sign in to comment.