From 75a51aa6d239f64ca2ec81f4e52a540648e86c27 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Tue, 8 Nov 2011 11:08:28 -0800 Subject: [PATCH] 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 --- res/values/strings.xml | 6 ------ res/xml/device_info_settings.xml | 8 +------- src/com/android/settings/DeviceInfoSettings.java | 11 ----------- 3 files changed, 1 insertion(+), 24 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index f9e9c896294..fcbaf089ab2 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -2128,12 +2128,6 @@ Terms and conditions - - System tutorial - - Learn how to use your tablet - - Learn how to use your phone diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml index 4dfc718dc64..d2ead7f2245 100644 --- a/res/xml/device_info_settings.xml +++ b/res/xml/device_info_settings.xml @@ -80,13 +80,7 @@ --> - - - - - + 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");