mywalkb / LSPosed_mod

My changes to LSPosed
GNU General Public License v3.0
2.1k stars 93 forks source link

[Feature Request] Only add new apps for modules with Automatic Add #11

Closed F-i-f closed 1 year ago

F-i-f commented 1 year ago

Is your feature request related to a problem?/你的请求是否与某个问题相关?

When Automatic Add is enabled for a module, LSPosed add any upgraded app to the module's scope.

Describe the solution you'd like/描述你想要的解决方案

It should only add newly installed apps, not upgraded ones.

Additional context/其他信息

Use cases where LSPosed misbehaves: (1) I have auto-add enabled for the Undo module and have selected all the user apps. I do not want to hook system apps. A system app is later upgraded and LSPosed adds it to the Undo module scope. (2) I use XPrivacyLua, I have all user apps selected in its scope and have Auto-Add enabled. Play Services is automatically upgraded, LSPosed adds it to xprivacylua's scope and Safety Net starts failing.