diff --git a/app/src/apkFlavor/AndroidManifest.xml b/app/src/apkFlavor/AndroidManifest.xml index fa99bd93..4f4cb83f 100644 --- a/app/src/apkFlavor/AndroidManifest.xml +++ b/app/src/apkFlavor/AndroidManifest.xml @@ -64,6 +64,7 @@ + list) @@ -543,6 +544,12 @@ public class ActivityPermissions extends Activity action.getParameter2().contains(Actions.wireguard_tunnel_refresh) ) addToArrayListUnique(ActivityPermissions.permissionNameWireguard, requiredPermissions); +// if( +// action.getParameter2().contains("eu.faircode.netguard.START_PORT_FORWARD") +// || +// action.getParameter2().contains("eu.faircode.netguard.STOP_PORT_FORWARD") +// ) +// addToArrayListUnique("net.kollnig.missioncontrol.permission.ADMIN", requiredPermissions); break; case triggerUrl: addToArrayListUnique("android.permission.INTERNET", requiredPermissions); @@ -1075,6 +1082,7 @@ public class ActivityPermissions extends Activity NotificationManager mNotificationManager = (NotificationManager) Miscellaneous.getAnyContext().getSystemService(Context.NOTIFICATION_SERVICE); mNotificationManager.cancel(notificationIdPermissions); ActivityMainScreen.updateMainScreen(); + ActivityMainRules.getInstance().updateListView(); this.finish(); } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3d3682a2..7ac22abf 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -666,4 +666,5 @@ by startActivity() by sendBroadcast() Open webpage with examples + \ No newline at end of file