Skip to content

Commit

Permalink
Report country code in upper case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Schwartz committed Nov 11, 2019
1 parent 00fd8b4 commit 68dd768
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ private NetworkTypes getNetworkType() {
}

private void log(Events e, @NonNull BundleBuilder b) {
String deviceCountry = countryCode.getDeviceCountry();
String networkCountry = countryCode.getNetworkCountry();
String deviceCountry = countryCode.getDeviceCountry().toUpperCase();
String networkCountry = countryCode.getNetworkCountry().toUpperCase();
if (!deviceCountry.isEmpty() && !networkCountry.isEmpty()
&& !deviceCountry.equals(networkCountry)) {
// The country codes disagree (e.g. device is roaming), so the effective network location is
Expand Down

0 comments on commit 68dd768

Please sign in to comment.