Skip to content

Conversation

ayanamist
Copy link

之前只显示声明了Internet权限的app,但部分系统app例如 com.android.shell 被lsposed寄生后也会访问网络,但却没有声明internet权限,因此需要能被添加

@vvb2060
Copy link

vvb2060 commented Jun 28, 2025

aosp-mirror/platform_frameworks_base@b173952
从Android12起shell声明了网络权限

@ayanamist
Copy link
Author

aosp-mirror/platform_frameworks_base@b173952 从Android12起shell声明了网络权限

那这里我修改下,加下版本判断?因为确实还有android 11的场景

@vvb2060
Copy link

vvb2060 commented Jun 28, 2025

应该使用Process.FIRST_APPLICATION_UID判断,UID小于它的应用不需要声明网络权限也能访问网络。

@ayanamist
Copy link
Author

应该使用Process.FIRST_APPLICATION_UID判断,UID小于它的应用不需要声明网络权限也能访问网络。

按你说的这个修改了

@wwqgtxx wwqgtxx merged commit 4ece5c4 into MetaCubeX:main Jun 29, 2025
1 check passed
@ayanamist ayanamist deleted the feature_all_apps branch June 29, 2025 04:51
ForestL18 pushed a commit to ForestL18/ClashMetaForAndroid that referenced this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants