title: Does service still run in foreground after "show notifications" is un-checked?
body: <p>I know that to run as a foreground service, you need to show a notification. My app runs a service as a foreground service, and it shows a notification. </p>
  
  <p><strong>However, if the user goes into Settings -> Apps- > My app -> and un-checks "show notifications", will the service continue to run as a foreground service?</strong></p>
  
  <p>I assumed that yes, it will continue to run as a foreground service.</p>
  
  <p>However, I recently noticed my service was killed by the system, and saw this in the logcat:</p>
  
  <p>Killing 2647:com.myapp.myapp:Service/u0a122 (adj 15): kill background</p>
  
  <p>The service was killed, and it did not restart itself. This is on Android 4.4.2. Worst of all, onDestroy was not called, so I couldn't even release some wake-locks.</p>