Remove stop background Service method from MainActivity
This commit is contained in:
parent
c9bb9cbf95
commit
3cb54cceec
@ -125,7 +125,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
PrefUtils.storeIsServiceRunning(getApplicationContext(), false);
|
PrefUtils.storeIsServiceRunning(getApplicationContext(), false);
|
||||||
|
|
||||||
stopService(MainActivity.backgroundLocalizationService);
|
//stopService(MainActivity.backgroundLocalizationService);
|
||||||
SharedPreferences preferences = getSharedPreferences("fmtPrefs", Context.MODE_PRIVATE);
|
SharedPreferences preferences = getSharedPreferences("fmtPrefs", Context.MODE_PRIVATE);
|
||||||
SharedPreferences.Editor editor = preferences.edit();
|
SharedPreferences.Editor editor = preferences.edit();
|
||||||
editor.clear().commit();
|
editor.clear().commit();
|
||||||
|
Loading…
Reference in New Issue
Block a user