Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xposed-modules-repo/moe.lyniko.hiderecent
HideRecentTask / 隐藏最近任务
https://github.com/xposed-modules-repo/moe.lyniko.hiderecent
android xposed xposed-module
Last synced: about 1 month ago
JSON representation
HideRecentTask / 隐藏最近任务
- Host: GitHub
- URL: https://github.com/xposed-modules-repo/moe.lyniko.hiderecent
- Owner: Xposed-Modules-Repo
- Created: 2023-08-07T05:01:18.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-11T12:23:21.000Z (5 months ago)
- Last Synced: 2024-07-11T14:03:20.226Z (5 months ago)
- Topics: android, xposed, xposed-module
- Homepage: https://github.com/Young-Lord/hideRecent
- Size: 20.5 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hide App from Recent Task List
Simple module to hide any app from recent task list.
Designed in pure Kotlin & Jetpack Compose & Material Design 3. Can be a template for any Xposed module with a application selection list.
![UI Screenshot](https://github.com/Young-Lord/hideRecent/raw/master/assets/image/preview.jpg)
## How to use
> Tested on: Android 10 (AOSP), Android 11 (MIUI 12), Android 13 (AOSP), Android 13 (MIUI 14), Android 14 (AOSP); may work on [10 <= Android <= 14](http://aospxref.com/android-10.0.0_r47/xref/frameworks/base/services/core/java/com/android/server/wm/RecentTasks.java#1272)
1. Select `System framework` (package name may be `android` or `system` or empty, [see this](https://github.com/LSPosed/LSPosed/releases/tag/v1.9.1)) in module scope and activate the module
2. Force stop module
3. Select the apps you want to hide from recent app list in module settings (if package list not shown, you can manually import / export settings to edit config)
4. Reboot (you MUST reboot when you modify the list, or changes will not be applied until next reboot)
5. If you need multi-user support, install this module only in main user, and use [Shizuku](https://shizuku.rikka.app/download/) to get app info from other users.## Module Scope
- android
## Project URL
Home URL:
Xposed Modules Repo URL:
## Technical Details
UI: Material Design 3 + Jetpack Compose + Kotlin.
Hook: Hook `com.android.server.wm.RecentTasks.isVisibleRecentTask(com.android.server.wm.Task)`, `(callMethod(param.args[0], "getBaseIntent") as Intent).component?.packageName` is package name.
## HELP ME IT DOESNT WORK!!!
Please open a issue [here](https://github.com/Young-Lord/hideRecent/issues). Provide your Android version, `/system/framework/framework.jar` and all `/system/framework/framework{a number here}.jar` if exist.
I am not intended to support Android < 10, but anyone is free to [send a PR](https://github.com/Young-Lord/hideRecent/pulls) for Android < 10 support.
PR for refactoring is also appreciated.
## License
Apache-2.0 License or MIT License are all OK.
## Thanks
(Apache-2.0 license)
~~Original code from: ~~ refactored.
[rootAVD](https://gitlab.com/newbit/rootAVD)
## Why?
出于隐私或便捷原因,有些时候我们总是想隐藏一些应用。
CrDroid 内置了这个功能,这是好的,然而并不是所有人都在用 CrDroid。
而且,国内的 ROM 的“最近任务列表”里划掉一个卡片,就等于杀死这个应用,这太蠢了!你也不想你的 Clash For Android 编辑完配置就挂了吧?
Thanox 等一些应用也有这个功能,但只为了这个功能氪金并装一个闭源应用,怎么看都很怪。于是我买了 Thanox 订阅,然后写完这个模块后又卖了。