Commit f7d422da authored by Mygod's avatar Mygod

Fix SecurityException on Asus Fonepads

This is a bug of their ROMs but the documentation says:

> Must be required by a VpnService, to ensure that only the system can bind to it.
>
> Protection level: signature
>
> Constant Value: "android.permission.BIND_VPN_SERVICE"

And we have `android:exported="false"` set, so I think it's safe to remove this permission restriction.
parent 10725c39
...@@ -131,7 +131,6 @@ ...@@ -131,7 +131,6 @@
android:name=".ShadowsocksVpnService" android:name=".ShadowsocksVpnService"
android:process=":bg" android:process=":bg"
android:label="@string/app_name" android:label="@string/app_name"
android:permission="android.permission.BIND_VPN_SERVICE"
android:exported="false"> android:exported="false">
<intent-filter> <intent-filter>
<action android:name="android.net.VpnService"/> <action android:name="android.net.VpnService"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment