Tools · Open source

OnStop2FinishAndRemoveTask

takusan_23

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

Download

Opens the official F-Droid page

OnStop2FinishAndRemoveTask screenshot 1OnStop2FinishAndRemoveTask screenshot 2

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.

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.

What's new in 2.0.6

Optimize apk size (enable to R8)

How to install OnStop2FinishAndRemoveTask

  1. Tap Download — the app's official page on F-Droid opens.
  2. Install it with the F-Droid app (recommended, for automatic updates), or use the download button on that page.
  3. If Android asks, allow the F-Droid app or your browser to install apps, then tap Install.
  4. Open OnStop2FinishAndRemoveTask from your app drawer.

More tools apps

More