Final Commit for #662

This commit is contained in:
Daniel Albert 2014-07-16 18:17:46 +02:00
parent c101ee0240
commit e375cde7e1

View File

@ -24,6 +24,7 @@ import android.content.pm.PackageManager.NameNotFoundException;
import org.sufficientlysecure.keychain.Constants;
import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.helper.Preferences;
import org.sufficientlysecure.keychain.util.Log;
import java.io.File;
@ -60,7 +61,11 @@ public class PgpHelper {
}
public static String getFullVersion(Context context) {
return "OpenKeychain v" + getVersion(context);
if(Preferences.getPreferences(context).getConcealPgpApplication()){
return "";
} else {
return "OpenKeychain v" + getVersion(context);
}
}
// public static final class content {