OSDN Git Service

Fix the vpnsetting NPE crash.
authorChung-yih Wang <cywang@google.com>
Tue, 18 Jan 2011 16:41:50 +0000 (00:41 +0800)
committerChung-yih Wang <cywang@google.com>
Thu, 20 Jan 2011 10:31:26 +0000 (18:31 +0800)
commita4491eafd45c460b0317e7962e24d47e3c4206fb
tree4db47882e16e794185ebf0aadc4dec31a926622a
parent62cc79ef964affaea5ec59c111c01e89f2e0578e
Fix the vpnsetting NPE crash.

The bug is triggered by rotating the screen after restoring the
vpn setting which was showing the connect dialog from the recent tasks.

Change-Id: I2562b208fa28f9b6ffa8acba1ab14e0f83b3a0c6
res/values/strings.xml
src/com/android/settings/vpn/VpnEditor.java
src/com/android/settings/vpn/VpnSettings.java