summaryrefslogtreecommitdiff
path: root/src/de
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
commitc17b1d8219b96da1be0c2d7cdb072379f84e9407 (patch)
tree1105bb76211ffdc804c2a21a907227064f13908b /src/de
parent6a7bffa6f53ea92873602d9b0784bc2b908df208 (diff)
Make Openvpn run into the JB keychain error if running on the emulator
Diffstat (limited to 'src/de')
-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 54eaae8..6886d77 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;
}