I was just wondering: will Android kill a Service (that uses persistent notification to keep itself alive) if I uncheck "Show notifications" on app settings?

I am running Lollipop 5.1.

  • We need more information. What is the app that is persistent? Is it system or user app? Is it the notification service or other? Answers will be incomplete without those details. – HasH_BrowN May 4 '15 at 0:18
  • @HasH_BrowN it is a user app. This question is not app-specific, but if you want exemples : AcDisplay (Active mode enabled), GravityScreen. I didn't understand, what to you mean by "notification service or other ?". It is a notification (in the status bar) that " keeps the service alive". – FliiFe May 5 '15 at 8:50

Disabling notification would not terminate the life cycle of apps, nor would apps use persistent notification to keep themselves alive. Normally background operations would be done in the background, and notification provides a means to display the result back to the user via the main UI thread. Notification in this context refers to elements such as toasts (pop-up messages) and any icon the app might display in the status bar. In any case, the operation would have finished regardless of whether or not notification must be shown.

  • Si if I have a service that use a persistent notification, Android won't kill it. Thanks for your answer. – FliiFe May 5 '15 at 8:46

I'm not 100% certain, but I'm about 99%. If the app was made to run in the background disabling notifications shouldn't affect anything else. It should only prevent the app from pushing notifications.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.