I have an app in which i have a device admin permission
and foreground service
.
Now i want to close/terminate particular app
when that comes on foreground. I know the package name of that another app.
Let say when i open chrome (com.android.chrome)
. Now when it comes in foreground i want to close/terminate that app and also remove from the recent item.
Is there any way to do this ?
from Can we close/terminate another app with our app?
No comments:
Post a Comment