OnStop2FinishAndRemoveTask

If change other app, Auto close task in prev app. Required Shizuku APP.
Repo:F-Droid.Org
AppID:io.github.takusan23.onstop2finishandremovetask
Author:takusan_23
License:Apache-2.0
Donation:
InRepoSince:2026-09-17
LastRepoUpdate:2026-09-17
LastAppUpdate:Unknown
LastVersion:2.0.6
Categories:System
APK source:
icon 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.

WhatsNew:

Optimize apk size (enable to R8)

anti Anti-Features:
  • NonFreeDep (the application depends on a non-free application):
    ⇒ Depends on Shizuku for functionality
Download Source Issues ChangeLog
1.png 2.png
While you can download the APKs here directly, you should preferably use an F-Droid client so the app stays up-to-date on your device.

Packages

Version 2.0.6 (2026-09-17) no RB details available help icon

Android Versions:
  • Target: 17.0
  • MinVer: 12.0
  • ABIs: arm64-v8a, armeabi-v7a, x86, x86_64

Download (2.5 M)