OnStop2FinishAndRemoveTask
OnStop2FinishAndRemoveTask is a free, open-source utility app for Android. If change other app, Auto close task in prev app. It has 104 GitHub stars and is released under the Apache-2.0 license, and you can install it from F-Droid.
github.com/takusan23/OnStop2FinishAndRemoveTask (opens in a new tab)
Data as of from the GitHub API and the F-Droid index; description from the project's repository or F-Droid listing. Report an error
About OnStop2FinishAndRemoveTask
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. 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: POSTNOTIFICATIONS: (optional) Showing notification and add stop service button. QUERYALLPACKAGES: It because, Get app list from register screen. FOREGROUNDSERVICE、FOREGROUNDSERVICESPECIAL_USE: It because, Detect leave app by ForegroundService.
Privacy and F-Droid
F-Droid builds OnStop2FinishAndRemoveTask from its published source code and flags anti-features such as ads, tracking or reliance on non-free services.
- Depends on non-free software
Screenshots
Screenshots from the app's F-Droid listing.
Similar apps
More open-source utility apps

AutoDND
im030/android_AutoDND
A simple tool to toggle DND automatically when using specified apps.
Maintained · last commit Aug 18, 2026
UtilitiesAndroid
Scrib
23rd/Scrib
On-device voice transcription. Your audio never leaves your phone.
Active · last commit Nov 9, 2026
UtilitiesAndroid
Knock on Ports
impalex/knockonports
A powerful client to manage and run port knocking sequences.
Maintained · last commit Jul 4, 2026
UtilitiesAndroid
QRshare
mrwm/QRshare
Generate QR codes on share intent.
Maintained · last commit Jun 6, 2026
UtilitiesAndroid
Battery Monitor
tswistak/Battery-Monitor
Monitor your device's battery status in detail in real time.
Active · last commit Nov 16, 2026
UtilitiesAndroid
Flip 2 DND
robinsrk/flip_2_dnd
Toggle Do Not Disturb mode by flipping your phone face down.
Maintained · last commit Jun 3, 2026
UtilitiesAndroid
Is OnStop2FinishAndRemoveTask free and open source?
Yes. OnStop2FinishAndRemoveTask's source code is public on GitHub under the Apache-2.0 license, which is OSI-approved or FSF-free. F-Droid flags these anti-features on its latest build: depends on non-free software.
How do I install OnStop2FinishAndRemoveTask?
You can install OnStop2FinishAndRemoveTask from F-Droid (package io.github.takusan23.onstop2finishandremovetask); the links are on this page. Its GitHub repository also publishes releases (latest: 2.0.6).
Is OnStop2FinishAndRemoveTask still maintained?
The repository's most recent commit was on Sep 18, 2026. Its F-Droid listing was last updated on Sep 17, 2026. appsgit only lists apps whose repository had a commit in the last six months.

