summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-07-07 16:25:43 +0200
committerArne Schwabe <arne@rfc2549.org>2012-07-07 16:25:43 +0200
commit0865bb76b830a21385c0a7d569fc528b25f4ca6a (patch)
tree505a7b5b937bc94531e00fef66bcd54e59208335
parent18e82c0ab53be423b694658ff7a75f47450a4acb (diff)
Make Openvpn run into the JB keychain error if running on the emulator
-rw-r--r--src/de/blinkt/openvpn/VpnProfile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java
index 54eaae88..6886d774 100644
--- a/src/de/blinkt/openvpn/VpnProfile.java
+++ b/src/de/blinkt/openvpn/VpnProfile.java
@@ -555,7 +555,7 @@ public class VpnProfile implements Serializable{
if(mAuthenticationType==TYPE_KEYSTORE || mAuthenticationType==TYPE_USERPASS_KEYSTORE) {
if(mAlias==null)
return R.string.no_keystore_cert_selected;
- if(Build.VERSION.SDK_INT == 16)
+ if(Build.VERSION.SDK_INT >= 16 && !Build.MODEL.equals("sdk") )
return R.string.keychain_jellybeans;
}