Support of SmartPGP secure messaging

This commit is contained in:
Arnaud Fontaine
2017-01-04 14:59:57 +01:00
parent 05bfd6bc01
commit a6b7b2bf4e
20 changed files with 1769 additions and 9 deletions
@@ -450,6 +450,10 @@ public class Preferences {
return mSharedPreferences.getBoolean(Pref.EXPERIMENTAL_ENABLE_KEYBASE, false);
}
public boolean getExperimentalSmartPGPAuthoritiesEnable() {
return mSharedPreferences.getBoolean(Pref.EXPERIMENTAL_SMARTPGP_VERIFY_AUTHORITY, false);
}
public void upgradePreferences(Context context) {
Log.d(Constants.TAG, "Upgrading preferences…");
int oldVersion = mSharedPreferences.getInt(Constants.Pref.PREF_VERSION, 0);