Added Preference for concealing the PgpApplication

This commit is contained in:
Daniel Albert
2014-07-12 15:12:35 +02:00
parent 066591dab1
commit 92c66743e0
5 changed files with 34 additions and 0 deletions

View File

@@ -187,4 +187,14 @@ public class Preferences {
.commit();
}
}
public void setConcealPgpApplication(boolean conceal) {
SharedPreferences.Editor editor = mSharedPreferences.edit();
editor.putBoolean(Constants.Pref.CONCEAL_PGP_APPLICATION, conceal);
editor.commit();
}
public boolean getConcealPgpApplication() {
return mSharedPreferences.getBoolean(Constants.Pref.CONCEAL_PGP_APPLICATION, false);
}
}