aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-20 00:54:29 +0200
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-20 00:54:29 +0200
commit987fa33bf9ccb4afcc4504555616bc52d3ec1a79 (patch)
tree8d562365498f7cb0fb654e21fad99a68c658338b
parentd386bdeb8ef3f2429820a322222227a429548d91 (diff)
downloadBlueGPS-987fa33bf9ccb4afcc4504555616bc52d3ec1a79.zip
BlueGPS-987fa33bf9ccb4afcc4504555616bc52d3ec1a79.tar.gz
BlueGPS-987fa33bf9ccb4afcc4504555616bc52d3ec1a79.tar.bz2
Code cleanup
-rw-r--r--src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
index bd9464d..6ea58bf 100644
--- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
+++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
@@ -29,7 +29,6 @@ import java.io.PrintStream;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
-import java.util.Locale;
import java.util.UUID;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
@@ -41,12 +40,9 @@ import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.Context;
-import android.location.Criteria;
import android.location.LocationManager;
-import android.location.LocationProvider;
import android.location.GpsStatus.NmeaListener;
import android.util.Log;
-import android.util.PrintStreamPrinter;
public class BlueetoothGpsManager {
@@ -172,15 +168,6 @@ public class BlueetoothGpsManager {
if (gpsSocket == null){
Log.e("BT test", "Error while establishing connection: no socket");
} else {
-//// mockGpsEnabled = locationManager.isProviderEnabled(mockLocationProvider);
-// LocationProvider prov = locationManager.getProvider(mockLocationProvider);
-// Log.e("BT test", "Mock power: "+prov.getPowerRequirement()+" "+prov.getAccuracy()+" "+locationManager.isProviderEnabled(mockLocationProvider));
-// locationManager.addTestProvider(mockLocationProvider, false, true,false, false,
-// true, true, true, Criteria.POWER_HIGH, Criteria.ACCURACY_FINE);
-//// locationManager.setTestProviderEnabled(mockLocationProvider, true);
-// prov = locationManager.getProvider(mockLocationProvider);
-// Log.e("BT test", "Mock power: "+prov.getPowerRequirement()+" "+prov.getAccuracy()+" "+locationManager.isProviderEnabled(mockLocationProvider));
-
Runnable connectThread = new Runnable() {
@Override
public void run() {