From f7d422da2b5907f70fdef648325a041ca3393e71 Mon Sep 17 00:00:00 2001 From: Mygod Date: Tue, 9 Aug 2016 10:45:02 +0800 Subject: [PATCH] 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. --- src/main/AndroidManifest.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index ebb17b4f..9a702acd 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -131,7 +131,6 @@ android:name=".ShadowsocksVpnService" android:process=":bg" android:label="@string/app_name" - android:permission="android.permission.BIND_VPN_SERVICE" android:exported="false">