0

Android system allows us to kill background processes of other installed android applications using below permission

<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />  

and

void killBackgroundProcesses (String packageName) API

But is there any way to kill foreground service of third party applications?

user11016
  • 171
  • 7
  • Possible duplicate of [Foreground service being killed by Android](https://stackoverflow.com/questions/6645193/foreground-service-being-killed-by-android) – Sergey Emeliyanov Sep 22 '17 at 17:19
  • 1
    @SerjArdovic From what I can make out, that doesn't look like a duplicate: the one you quote is all about _not being killed_ (by Android's clean-up code). As far as I can see, the OP wants to explicitly kill someone else's process. – TripeHound Sep 27 '17 at 13:15

0 Answers0