Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin committed Apr 8, 2019
1 parent 4a2074f commit a212581
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class MapEventFactory {
private final Context appContext;

MapEventFactory(Context appContext) {
this.appContext = appContext;
this.appContext = appContext;
}

Event buildMapLoadEvent() {
Expand Down Expand Up @@ -99,7 +99,9 @@ private float obtainAccessibilityFontScaleSize(Context context) {

private String obtainCellularCarrier(Context context) {
TelephonyManager manager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
if(manager == null) return NO_CARRIER;
if (manager == null) {
return NO_CARRIER;
}
String carrierName = manager.getNetworkOperatorName();

if (TextUtils.isEmpty(carrierName)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.mapbox.android.telemetry.AppUserTurnstile;
import com.mapbox.android.telemetry.MapboxTelemetry;
import com.mapbox.android.telemetry.TelemetryEnabler;
import com.mapbox.android.telemetry.SessionInterval;

import com.mapbox.android.telemetry.TelemetryEnabler;
import com.mapbox.mapboxsdk.BuildConfig;
import com.mapbox.mapboxsdk.Mapbox;
import com.mapbox.mapboxsdk.maps.TelemetryDefinition;
Expand All @@ -22,6 +22,7 @@ public class TelemetryImpl implements TelemetryDefinition {
@Nullable
private MapboxTelemetry telemetry;
private MapEventFactory mapEventFactory;

public TelemetryImpl() {
Context appContext = Mapbox.getApplicationContext();
String accessToken = Mapbox.getAccessToken();
Expand Down

0 comments on commit a212581

Please sign in to comment.