[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.
This commit is contained in:
Rob | Labs
2016-05-25 16:48:33 -07:00
committed by Brad Leege
parent c6f22df8e5
commit d4b3d75700
2 changed files with 2 additions and 2 deletions

View File

@@ -130,7 +130,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

View File

@@ -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");