OnStop2FinishAndRemoveTask icon

OnStop2FinishAndRemoveTask

takusan_23
System
Version
2.0.6
Size
2.5 MB
Requires
Android API 31+
4.3 / 5 · 3,861 ratings 0 downloads

Updated Sep 22, 2026

Quick answer

If change other app, Auto close task in prev app. Required Shizuku APP.

F-Droid repository metadata

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.

Screenshots

OnStop2FinishAndRemoveTask screenshot 1
OnStop2FinishAndRemoveTask screenshot 2

What’s new

Optimize apk size (enable to R8)

How to install

  1. Download the APK from the button at the top of this page.
  2. Allow “Install unknown apps” for your browser or file manager only, not for every app.
  3. Open the downloaded file and confirm the installation.
  4. If installation fails with “App not installed,” remove an earlier build of the same app first. A signature conflict is the usual cause.

Data safety

  • Every file is checked against its published SHA-256 before it is listed.
  • Files are scanned for malware on every update.
  • The permissions each app requests are listed on its own page.
  • Read the full safety policy for how we test, flag, and delist files.

Comments

Recent approved comments · sorted by newest

Verification code
Be specific and keep it about the app. No links. Comments are reviewed before publication. Device and Android details are recorded automatically. Privacy policy.

Loading recent comments...

View all comments