mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Added OpenPGP provider selection
This commit is contained in:
@@ -284,6 +284,11 @@ public class Helper {
|
||||
return intent;
|
||||
}
|
||||
|
||||
static String getOpenKeychainPackage(Context context) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
return prefs.getString("openpgp_provider", "org.sufficientlysecure.keychain");
|
||||
}
|
||||
|
||||
static Intent getIntentIssue(Context context) {
|
||||
if (ActivityBilling.isPro(context)) {
|
||||
String version = BuildConfig.VERSION_NAME + "/" +
|
||||
@@ -892,10 +897,6 @@ public class Helper {
|
||||
prefs.edit().remove("last_authentication").apply();
|
||||
}
|
||||
|
||||
static String getOpenKeychainPackage(Context context) {
|
||||
return "org.sufficientlysecure.keychain";
|
||||
}
|
||||
|
||||
// Miscellaneous
|
||||
|
||||
static <T> List<List<T>> chunkList(List<T> list, int size) {
|
||||
|
||||
Reference in New Issue
Block a user