diff options
-rw-r--r-- | src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java index 7092c32..0145208 100644 --- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java +++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java @@ -492,7 +492,7 @@ public class BlueetoothGpsManager { if (parser != null){
Log.d(LOG_TAG, "enabling mock locations provider: "+gpsName);
boolean force = sharedPreferences.getBoolean(BluetoothGpsProviderService.PREF_FORCE_ENABLE_PROVIDER, false);
- parser.enableMockLocationProvider(gpsName, false);
+ parser.enableMockLocationProvider(gpsName, force);
}
}
|