From c17b1d8219b96da1be0c2d7cdb072379f84e9407 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 7 Jul 2012 16:25:43 +0200 Subject: Make Openvpn run into the JB keychain error if running on the emulator --- src/de/blinkt/openvpn/VpnProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3