Commit 22e7b7d8 authored by Florian's avatar Florian

fixed when no location permission or no location hardware enabled

parent ee0bf1a6
......@@ -945,9 +945,10 @@ public class MainActivity extends BaseActivity implements Scan.DetectionListener
if (locationTrack) {
lastPosition = locationFinder.getLocation(); //get the latest position
locationFinder.saveLocationGPSTrackerObject();
}
locationFinder.saveLocationGPSTrackerObject();
if (this.getSettingsObject().getBoolean(ConfigConstants.SETTING_CONTINOUS_SPOOFING, false)) { //check if the settings are set to continous spoofing
/*if (!this.getBackgroundStatus()) { //if the app is not in the background
this.cancelDetectionNotification(); //cancel the detection notification
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment