• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Remove App is running in background notification

Hello guys,

I am currently developing a native Android app using Android SDK, it runs on location so the app runs in the background constantly fetching user's location. For that, android automatically shows a notification that app is running in background and user cannot remove it

I have found only that Android Oreo now gives you a feature where you can remove this notification. But this has to be done on every user's phone. Can we add something in our code that hides this for all users?

Appreciate any help.

Thank you
 

Attachments

  • Screenshot_20190625-130030_One UI Home.jpg
    Screenshot_20190625-130030_One UI Home.jpg
    322.6 KB · Views: 138
Back
Top Bottom