From 6120ddd7863d1240a535bc111b62e068c8736058 Mon Sep 17 00:00:00 2001 From: Hung-ying Tyan Date: Sun, 26 Jul 2009 00:05:21 +0800 Subject: [PATCH] Capitalize the first letter of a VPN name. --- src/com/android/settings/vpn/VpnProfileEditor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/settings/vpn/VpnProfileEditor.java b/src/com/android/settings/vpn/VpnProfileEditor.java index bf51749d89c..8dc36431769 100644 --- a/src/com/android/settings/vpn/VpnProfileEditor.java +++ b/src/com/android/settings/vpn/VpnProfileEditor.java @@ -66,6 +66,8 @@ class VpnProfileEditor { } }); setName(getProfile().getName()); + mName.getEditText().setInputType(InputType.TYPE_CLASS_TEXT + | InputType.TYPE_TEXT_FLAG_CAP_SENTENCES); subpanel.addPreference(createServerNamePreference(c)); loadExtraPreferencesTo(subpanel);