From 8fd062e1a5c0047deff1dd817a097b94891000f2 Mon Sep 17 00:00:00 2001 From: Hung-ying Tyan Date: Wed, 30 Sep 2009 17:57:56 +0800 Subject: [PATCH] Use the new VpnType.getDescriptionId(). --- src/com/android/settings/vpn/VpnTypeSelection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/vpn/VpnTypeSelection.java b/src/com/android/settings/vpn/VpnTypeSelection.java index e74fb43b2a4..aa4bc5e30be 100644 --- a/src/com/android/settings/vpn/VpnTypeSelection.java +++ b/src/com/android/settings/vpn/VpnTypeSelection.java @@ -60,7 +60,7 @@ public class VpnTypeSelection extends PreferenceActivity { Preference pref = new Preference(this); pref.setTitle(message); - pref.setSummary(t.getDescription()); + pref.setSummary(t.getDescriptionId()); root.addPreference(pref); } }