Service stops when clearing data
<p>I created a notification service which communicate with the local database</p>

<p>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.</p>

<p>thanks in advance</p>

<p><strong>Update</strong></p>

<p>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</p>
