Wireguard integration

This commit is contained in:
Jens 2021-05-08 22:48:05 +02:00
parent 2e09ea1c90
commit acc0f592d1

View File

@ -611,6 +611,9 @@ public class Actions
paramsStartIndex = 1;
externalActivityIntent = new Intent(param);
externalActivityIntent.addCategory(Intent.CATEGORY_DEFAULT);
// Context c = autoMationServerRef.getApplicationContext();
// c.getApplicationContext()
// externalActivityIntent.setPackage("com.wireguard.android");//this did the trick actually
// if(externalActivityIntent.resolveActivity(autoMationServerRef.getPackageManager()) == null)
// Toast.makeText(context, "bad", Toast.LENGTH_LONG).show();
}