summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2011-11-08 11:08:28 -0800
committerAmith Yamasani <yamasani@google.com>2011-11-08 11:08:28 -0800
commit75a51aa6d239f64ca2ec81f4e52a540648e86c27 (patch)
treef1dcffff188933770a2b065cdc91b993bce8bffa /src
parent8214d201db04c27ed82265ec46f85a87f1adf179 (diff)
downloadpackages_apps_Settings-75a51aa6d239f64ca2ec81f4e52a540648e86c27.tar.gz
packages_apps_Settings-75a51aa6d239f64ca2ec81f4e52a540648e86c27.tar.bz2
packages_apps_Settings-75a51aa6d239f64ca2ec81f4e52a540648e86c27.zip
Remove system tutorial option in Settings->About.
It was being activated by third party IMEs that have tutorials. Remove the code permanently, since we don't support the system tutorial flow anymore. Bug: 5425836 Change-Id: I691b8d48309b3dd3a25c9994334dc4692a70e482
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/DeviceInfoSettings.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/com/android/settings/DeviceInfoSettings.java b/src/com/android/settings/DeviceInfoSettings.java
index eada8a796..89f87a8d3 100644
--- a/src/com/android/settings/DeviceInfoSettings.java
+++ b/src/com/android/settings/DeviceInfoSettings.java
@@ -67,17 +67,6 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment {
addPreferencesFromResource(R.xml.device_info_settings);
- // If we don't have an IME tutorial, remove that option
- String currentIme = Settings.Secure.getString(getContentResolver(),
- Settings.Secure.DEFAULT_INPUT_METHOD);
- ComponentName component = ComponentName.unflattenFromString(currentIme);
- Intent imeIntent = new Intent(component.getPackageName() + ".tutorial");
- PackageManager pm = getPackageManager();
- List<ResolveInfo> tutorials = pm.queryIntentActivities(imeIntent, 0);
- if(tutorials == null || tutorials.isEmpty()) {
- getPreferenceScreen().removePreference(findPreference("system_tutorial"));
- }
-
setStringSummary(KEY_FIRMWARE_VERSION, Build.VERSION.RELEASE);
findPreference(KEY_FIRMWARE_VERSION).setEnabled(true);
setValueSummary(KEY_BASEBAND_VERSION, "gsm.version.baseband");