Add alternative support for QUERY_ALL_PACKAGES in play flavor

This commit is contained in:
世界
2025-12-25 02:32:26 +08:00
parent 104da5d312
commit 08f51d5469
22 changed files with 855 additions and 169 deletions
@@ -42,8 +42,6 @@ class Application : Application() {
UpdateProfileWork.reconfigureUpdater()
}
// Only register AppChangeReceiver if Per-app Proxy is available
// This receiver needs QUERY_ALL_PACKAGES permission to function
if (Vendor.isPerAppProxyAvailable()) {
registerReceiver(
AppChangeReceiver(),