mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-15 00:00:16 -04:00
Merge branch 'android-fixes'
Fixes an upgrade issue and includes UTF8 support for EAP-MSCHAPv2.
This commit is contained in:
commit
6a995a63f5
@ -7,8 +7,8 @@ android {
|
||||
applicationId "org.strongswan.android"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 26
|
||||
versionCode 63
|
||||
versionName "2.1.0"
|
||||
versionCode 64
|
||||
versionName "2.1.1"
|
||||
}
|
||||
|
||||
sourceSets.main {
|
||||
|
@ -230,7 +230,7 @@ public class VpnProfileDataSource
|
||||
db.beginTransaction();
|
||||
try
|
||||
{
|
||||
Cursor cursor = db.query(TABLE_VPNPROFILE, ALL_COLUMNS, KEY_UUID + " is NULL", null, null, null, null);
|
||||
Cursor cursor = db.query(TABLE_VPNPROFILE, getColumns(16), KEY_UUID + " is NULL", null, null, null, null);
|
||||
for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext())
|
||||
{
|
||||
ContentValues values = new ContentValues();
|
||||
@ -248,7 +248,7 @@ public class VpnProfileDataSource
|
||||
if (oldVersion < 17)
|
||||
{
|
||||
db.execSQL("ALTER TABLE " + TABLE_VPNPROFILE + " ADD " + KEY_DNS_SERVERS +
|
||||
" TEXT;");
|
||||
" TEXT;");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user