mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
Final Commit for #662
This commit is contained in:
parent
c101ee0240
commit
e375cde7e1
@ -24,6 +24,7 @@ import android.content.pm.PackageManager.NameNotFoundException;
|
|||||||
|
|
||||||
import org.sufficientlysecure.keychain.Constants;
|
import org.sufficientlysecure.keychain.Constants;
|
||||||
import org.sufficientlysecure.keychain.R;
|
import org.sufficientlysecure.keychain.R;
|
||||||
|
import org.sufficientlysecure.keychain.helper.Preferences;
|
||||||
import org.sufficientlysecure.keychain.util.Log;
|
import org.sufficientlysecure.keychain.util.Log;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
@ -60,7 +61,11 @@ public class PgpHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String getFullVersion(Context context) {
|
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 {
|
// public static final class content {
|
||||||
|
Loading…
Reference in New Issue
Block a user