XInstallerなどのXposedモジュールでおなじみ、
pyler氏がまた新しいXposedモジュールを公開しました。
「UnrestrictedGetTasks」は、5.x Lollipop以降で
追加されたアプリ履歴の取得API getAppTasks( )の
制限を解除して、以前のように使えるようにするものです。
ダウンロードはXposed Module Repositoryからできます。
UnrestrictedGetTasks | Xposed Module Repository
Disable restricting Android API to get recent tasks in Lollipop and newer. This restriction causes that some apps (e.g. Greenify) don’t work as they should, since Android now returns nothing or useless info when they want to get recent tasks. This module should fix it as it was before.
このモジュールを有効にすると、APIに頼っている
Greenifyなどのアプリが正しく動くようになります。
また、関係ないのかもしれませんが、
LMTでKill appsを使ったときにLMTごと停止してしまう
問題が、有効にしてから起きなくなりました。
APIが制限されたのは元々はセキュリティ向上のためなので、
厳格なセキュリティよりも機能性を取りたい
人だけ使うようにしてください。