Remove stop background Service method from MainActivity

This commit is contained in:
Mieszko Wrzeszczyński 2018-09-30 11:14:53 +02:00
parent c9bb9cbf95
commit 3cb54cceec

View File

@ -125,7 +125,7 @@ public class MainActivity extends AppCompatActivity {
public void onClick(View view) {
PrefUtils.storeIsServiceRunning(getApplicationContext(), false);
stopService(MainActivity.backgroundLocalizationService);
//stopService(MainActivity.backgroundLocalizationService);
SharedPreferences preferences = getSharedPreferences("fmtPrefs", Context.MODE_PRIVATE);
SharedPreferences.Editor editor = preferences.edit();
editor.clear().commit();