bugfixes:增加应用禁用和卸载监听
This commit is contained in:
2025-05-27 16:34:33 +08:00
parent 7599d14897
commit 0e9f0e8394
15 changed files with 168 additions and 200 deletions

View File

@@ -257,6 +257,7 @@ public class GuardService extends Service {
filter.addAction(Intent.ACTION_PACKAGE_ADDED);
filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
filter.addAction(Intent.ACTION_PACKAGE_REMOVED);
filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
filter.addDataScheme("package");
registerReceiver(mNewAppReceiver, filter);
}