diff options
author | Rob | Labs <roblabs@users.noreply.github.com> | 2016-05-25 16:48:33 -0700 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-05-27 10:50:04 -0500 |
commit | c53a1a3dce52c110ac07094342bd675b5019569d (patch) | |
tree | e991fcd74bdba1f411798eb5b9095ae048077591 /platform | |
parent | 5be5bab730ffd49fe501c7f24e5ed188c662c377 (diff) | |
download | qtlocation-mapboxgl-c53a1a3dce52c110ac07094342bd675b5019569d.tar.gz |
[privacy] [android] Remove logging of location due to privacy leak.
* Location logs are not just kept on the device.
* Some logging packages, e.g.,
Firebase, now has the option to upload logs to cloud.
* This closes a potential privacy leak.
Diffstat (limited to 'platform')
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java index e45f3cc715..08f18892d2 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java @@ -132,7 +132,7 @@ public class LocationServices implements com.mapzen.android.lost.api.LocationLis */ @Override public void onLocationChanged(Location location) { - Log.d(TAG, "onLocationChanged()..." + location); +// Log.d(TAG, "onLocationChanged()..." + location); this.lastLocation = location; // Update Listeners diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/TelemetryLocationReceiver.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/TelemetryLocationReceiver.java index eb08baa9a3..c18da41e4b 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/TelemetryLocationReceiver.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/TelemetryLocationReceiver.java @@ -63,7 +63,7 @@ public class TelemetryLocationReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { Location location = (Location)intent.getExtras().get(LocationManager.KEY_LOCATION_CHANGED); if (location != null) { - Log.d(TAG, "location received = " + location); +// Log.d(TAG, "location received = " + location); MapboxEventManager.getMapboxEventManager().addLocationEvent(location); } else { Log.d(TAG, "location NOT received"); |