I created a notification service which communicate with the local database
When i press Settings Clear Data button while the application is running, the service also stops. but i need to keep the service running while cleaning the database (for testing). does this normally happens.
thanks in advance
Update
I'm using IntentService to create the background service. I'm trying to restart service when this happens. I found out that returning START_STICKY from onStartCommand the service can be restarted. but in IntentService , it says not to overide this method. is there any way to do this thanks again