OnStop2FinishAndRemoveTask
If change other app, Auto close task in prev app. Required Shizuku APP.
Version: 2.0.6
Added: 17-09-2026
Updated: 17-09-2026
Added: 17-09-2026
Updated: 17-09-2026
Required Shizuku app. If change other app, Auto close task in prev app.
The app must be registered.
This app is required Shizuku APP. Please prepare Shizuku.
https://shizuku.rikka.app/
How to work:
Observe current Activity From Foreground service. If change other app, Invoke remove task function.
this APIs Invoke by Shizuku. that's because, using API is Internal-API.
Using Permission:
POST_NOTIFICATIONS: (optional) Showing notification and add stop service button.
QUERY_ALL_PACKAGES: It because, Get app list from register screen.
FOREGROUND_SERVICEćFOREGROUND_SERVICE_SPECIAL_USE: It because, Detect leave app by ForegroundService.
The app must be registered.
This app is required Shizuku APP. Please prepare Shizuku.
https://shizuku.rikka.app/
How to work:
Observe current Activity From Foreground service. If change other app, Invoke remove task function.
this APIs Invoke by Shizuku. that's because, using API is Internal-API.
Using Permission:
POST_NOTIFICATIONS: (optional) Showing notification and add stop service button.
QUERY_ALL_PACKAGES: It because, Get app list from register screen.
FOREGROUND_SERVICEćFOREGROUND_SERVICE_SPECIAL_USE: It because, Detect leave app by ForegroundService.