EIP switch toggles on screen rotate
The onCheckedChangeListener for the EIP switch is toggled when Android rebuilds the view, which happens on screen rotation. This is causing the VPN connection to be restarted, as the logic to initiate a connection is called.
Use a different listener or include logic to determine if the switch was clicked by a user, instead of the sytem
(from redmine: created on 2013-07-30, closed on 2013-07-30)