Commit a3194571 authored by Florian's avatar Florian

changed bugfix, no startservice call after crashing

parent 8260b482
......@@ -63,7 +63,6 @@ public class SoniService extends Service {
if(intent == null){
Intent service = new Intent(getApplicationContext(), SoniService.class);
service.setAction(ServiceConstants.ACTION.STOPFOREGROUND_ACTION);
startService(service);
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
SharedPreferences.Editor ed = sp.edit();
ed.putString(ConfigConstants.PREFERENCES_APP_STATE, StateEnum.ON_HOLD.toString());
......
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