Help installing OpenKeychain

This commit is contained in:
M66B
2018-10-29 15:47:27 +00:00
parent 293ba7ebe6
commit b1bd26424c
3 changed files with 66 additions and 31 deletions

View File

@@ -109,6 +109,12 @@ public class Helper {
return intent;
}
static Intent getIntentOpenKeychain() {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("https://f-droid.org/en/packages/org.sufficientlysecure.keychain/"));
return intent;
}
static int resolveColor(Context context, int attr) {
int[] attrs = new int[]{attr};
TypedArray a = context.getTheme().obtainStyledAttributes(attrs);