Add alternative support for QUERY_ALL_PACKAGES in play flavor

This commit is contained in:
世界
2025-12-25 01:49:27 +08:00
parent 104da5d312
commit 08f51d5469
22 changed files with 855 additions and 169 deletions

View File

@@ -180,9 +180,16 @@
<string name="location_permission_background_description">在 Android 10 及更高版本中,需要&lt;strong&gt;后台位置&lt;/strong&gt;权限。选择&lt;strong&gt;始终允许&lt;/strong&gt;以授予权限。</string>
<string name="notification_permission_title">通知权限</string>
<string name="notification_permission_required_description">sing-box 无法在没有发送通知权限的情况下显示实时网速。请授予权限或禁用实时网速通知后再启动服务。</string>
<string name="per_app_proxy_disabled_play_store">Play 商店版本中不可用</string>
<string name="per_app_proxy_disabled_message">Google Play 拒绝允许我们使用 QUERY_ALL_PACKAGES 权限(同时不禁止其他类似应用这样做),而这是列出应用程序所必需的。</string>
<string name="per_app_proxy_package_query_mode">模式</string>
<string name="per_app_proxy_shizuku_required">通过 Play 商店安装时,分应用代理需要 Shizuku。Google Play 拒绝允许我们使用 QUERY_ALL_PACKAGES 权限(同时不禁止其他类似应用这样做),而这是列出应用程序所必需的。</string>
<string name="per_app_proxy_root_required">通过 Play 商店安装时,分应用代理需要 ROOT。Google Play 拒绝允许我们使用 QUERY_ALL_PACKAGES 权限(同时不禁止其他类似应用这样做),而这是列出应用程序所必需的。</string>
<string name="per_app_proxy_shizuku_mode">分应用代理Shizuku 模式)</string>
<string name="start_shizuku">启动 Shizuku</string>
<string name="request_shizuku">授权 Shizuku</string>
<string name="get_shizuku">获取 Shizuku</string>
<string name="root_access_required">需要 Root 权限</string>
<string name="root_access_denied">Root 权限被拒绝</string>
<string name="privileged_access_required">需要 Root 或 Shizuku 权限来获取完整应用列表</string>
<string name="title_connections">连接</string>
<string name="title_others">其他</string>
<string name="title_experimental_features">实验性功能</string>

View File

@@ -154,6 +154,8 @@
<string name="shizuku_not_available">Shizuku is not installed or not running</string>
<string name="shizuku_description">Shizuku allows apps to use system APIs directly with higher privileges</string>
<string name="get_shizuku">Get Shizuku</string>
<string name="start_shizuku">Start Shizuku</string>
<string name="request_shizuku">Request Shizuku</string>
<string name="silent_install_not_available">ROOT and Shizuku are not available</string>
<string name="silent_install_verify_failed">%s is not available or permission denied</string>
<string name="auto_update">Auto Update</string>
@@ -247,9 +249,13 @@
<string name="location_permission_background_description">On Android 10 and up, &lt;strong&gt;background location&lt;/strong&gt; permission is required. Select &lt;strong&gt;Allow all the time&lt;/strong&gt; to grant the permission.</string>
<string name="notification_permission_title">Notification permission</string>
<string name="notification_permission_required_description">sing-box is unable to show real-time network speeds without the permission to send notifications. Please grant the permission or disable real-time network speeds notification before starting the service.</string>
<string name="per_app_proxy_disabled_play_store">Unavailable in the Play Store version</string>
<string name="per_app_proxy_disabled_message">Google Play refuses to allow us to use the QUERY_ALL_PACKAGES permission (while not prohibiting other similar apps from doing so), which is required for listing apps.</string>
<string name="per_app_proxy_package_query_mode">Mode</string>
<string name="per_app_proxy_shizuku_required">When installed from the Play Store, per-app proxy requires Shizuku. Google Play refuses to allow us to use the QUERY_ALL_PACKAGES permission (while not prohibiting other similar apps from doing so), which is required for listing apps.</string>
<string name="per_app_proxy_root_required">When installed from the Play Store, per-app proxy requires ROOT. Google Play refuses to allow us to use the QUERY_ALL_PACKAGES permission (while not prohibiting other similar apps from doing so), which is required for listing apps.</string>
<string name="per_app_proxy_shizuku_mode">Per-App Proxy (Shizuku mode)</string>
<string name="root_access_required">Root access required</string>
<string name="root_access_denied">Root access denied</string>
<string name="privileged_access_required">Root or Shizuku access required to get the complete app list</string>
<string name="dashboard_items">Dashboard Items</string>
<string name="reset_order">Reset order</string>
<string name="reset">Reset</string>