android: Fix import of an already existing VPN profile
This commit is contained in:
+1
@@ -676,6 +676,7 @@ public class VpnProfileImportActivity extends AppCompatActivity
|
|||||||
if (mExisting != null)
|
if (mExisting != null)
|
||||||
{
|
{
|
||||||
mProfile.setUUID(mExisting.getUUID());
|
mProfile.setUUID(mExisting.getUUID());
|
||||||
|
mProfile.setDataSource(mExisting.getDataSource());
|
||||||
mDataSource.updateVpnProfile(mProfile);
|
mDataSource.updateVpnProfile(mProfile);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user