0
0
mirror of https://github.com/schwabe/ics-openvpn.git synced 2024-09-20 03:52:27 +02:00

Make Openvpn run into the JB keychain error if running on the emulator

This commit is contained in:
Arne Schwabe 2012-07-07 16:25:43 +02:00
parent 18e82c0ab5
commit 0865bb76b8

View File

@ -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;
}