OSDN Git Service

Use the new VpnType.getDescriptionId().
authorHung-ying Tyan <tyanh@google.com>
Wed, 30 Sep 2009 09:57:56 +0000 (17:57 +0800)
committerHung-ying Tyan <tyanh@google.com>
Wed, 30 Sep 2009 09:57:56 +0000 (17:57 +0800)
src/com/android/settings/vpn/VpnTypeSelection.java

index e74fb43..aa4bc5e 100644 (file)
@@ -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);
         }
     }