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.
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
System framework
(package name may be android
or system
or empty, see this) in module scope and activate the moduleHome URL: https://github.com/Young-Lord/hideRecent
Xposed Modules Repo URL: https://github.com/Xposed-Modules-Repo/moe.lyniko.hiderecent
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.
Please open a issue here. 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 for Android < 10 support.
PR for refactoring is also appreciated.
Apache-2.0 License or MIT License are all OK.
https://stackoverflow.com/questions/57266451/get-list-of-apps-of-all-users
https://github.com/LibChecker/LibChecker/pull/821/files (Apache-2.0 license)
Original code from: https://github.com/cokkeijigen/setAppFull refactored.
出于隐私或便捷原因,有些时候我们总是想隐藏一些应用。
CrDroid 内置了这个功能,这是好的,然而并不是所有人都在用 CrDroid。
而且,国内的 ROM 的“最近任务列表”里划掉一个卡片,就等于杀死这个应用,这太蠢了!你也不想你的 Clash For Android 编辑完配置就挂了吧?
Thanox 等一些应用也有这个功能,但只为了这个功能氪金并装一个闭源应用,怎么看都很怪。于是我买了 Thanox 订阅,然后写完这个模块后又卖了。
moe.lyniko.hiderecent