diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-07-07 16:25:43 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-07-07 16:25:43 +0200 |
commit | c17b1d8219b96da1be0c2d7cdb072379f84e9407 (patch) | |
tree | 1105bb76211ffdc804c2a21a907227064f13908b | |
parent | 6a7bffa6f53ea92873602d9b0784bc2b908df208 (diff) |
Make Openvpn run into the JB keychain error if running on the emulator
-rw-r--r-- | src/de/blinkt/openvpn/VpnProfile.java | 2 |
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; } |