Clone the current VPN profile before updating the password
authorTobias Brunner <tobias@strongswan.org>
Tue, 7 Aug 2012 16:45:03 +0000 (18:45 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Aug 2012 09:00:26 +0000 (11:00 +0200)
commit6e04147743d770909acf197401b25c875d7c20e5
tree6104e49fa6dc76af2fb45284e9f8250bc414cf2e
parent8d4eea53250f3b6864b3c53187ebfe15ea695bd3
Clone the current VPN profile before updating the password

Storing the password on the original object would be problematic in case
the user mistypes the password (no prompt would be shown the second time).

An alternative would be to just return the ID of the selected profile
and then fetch it from the database.
src/frontends/android/src/org/strongswan/android/ui/MainActivity.java