android: Add menu option to copy a profile
authorTobias Brunner <tobias@strongswan.org>
Tue, 5 Mar 2019 15:40:20 +0000 (16:40 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 5 Mar 2019 15:40:20 +0000 (16:40 +0100)
commit94cb3b4ddd7a035be7fbe38bc0aa8ddb7d156c67
tree322a5f9dc87002c61102789036d68b952f3fcb63
parentda4e08909e33b2af545f88ba65002d77e6e052ea
android: Add menu option to copy a profile

Some users requests something like that to use different server IPs.
Interestingly, it's actually also possible to configure multiple
hostnames/IPs, separated by commas, as server address in the profile, which
are then tried one after another.

It's also useful when testing stuff to quickly compare the behavior with
some setting changed between two otherwise identical profiles.
src/frontends/android/app/src/main/java/org/strongswan/android/ui/VpnProfileListFragment.java
src/frontends/android/app/src/main/res/menu/profile_list_context.xml
src/frontends/android/app/src/main/res/values-de/strings.xml
src/frontends/android/app/src/main/res/values-pl/strings.xml
src/frontends/android/app/src/main/res/values-ru/strings.xml
src/frontends/android/app/src/main/res/values-ua/strings.xml
src/frontends/android/app/src/main/res/values-zh-rCN/strings.xml
src/frontends/android/app/src/main/res/values-zh-rTW/strings.xml
src/frontends/android/app/src/main/res/values/strings.xml