title: How to auto-start a service after user clears app(android) data
body: <p>I have a service running in an android app. When the user goes to <strong>Settings -> App Manager</strong> and clears the app data, it clears all the databases, files, sharedpreferences, contentproviders of the app. Also, kills the services running. I am looking to auto-start the service after the 'Clear Data' event. Or otherwise, listen to the 'Clear Data' event.</p>
  
  <p>Android provides broadcast intent <code>ACTION_PACKAGE_DATA_CLEARED</code>. But I get this broadcast when any other app's data is cleared. </p>