diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2012-12-05 18:45:29 -0500 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-26 17:14:05 -0700 |
commit | 44b7e31eea5ac697905f7d4c5e996735adff59a4 (patch) | |
tree | ed22bd58538944a1324c7ecf12cdab2aaf4c9cb5 /src | |
parent | 26ab72c232cede93d790ff502fea13d63f2a90e8 (diff) | |
download | packages_apps_Settings-44b7e31eea5ac697905f7d4c5e996735adff59a4.zip packages_apps_Settings-44b7e31eea5ac697905f7d4c5e996735adff59a4.tar.gz packages_apps_Settings-44b7e31eea5ac697905f7d4c5e996735adff59a4.tar.bz2 |
Developer Options: launch the Development app
Change-Id: I0f798d197888ef7f40688009536040e061c410f4
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/DevelopmentSettings.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java index 831da73..a84492e 100644 --- a/src/com/android/settings/DevelopmentSettings.java +++ b/src/com/android/settings/DevelopmentSettings.java @@ -174,6 +174,8 @@ public class DevelopmentSettings extends SettingsPreferenceFragment private static final String TERMINAL_APP_PACKAGE = "com.android.terminal"; + private static final String DEVELOPMENT_TOOLS = "development_tools"; + private static final int RESULT_DEBUG_APP = 1000; private static final int RESULT_MOCK_LOCATION_APP = 1001; @@ -258,6 +260,7 @@ public class DevelopmentSettings extends SettingsPreferenceFragment private ListPreference mRootAccess; private Object mSelectedRootValue; + private PreferenceScreen mDevelopmentTools; private final ArrayList<Preference> mAllPrefs = new ArrayList<Preference>(); @@ -420,6 +423,9 @@ public class DevelopmentSettings extends SettingsPreferenceFragment if (!removeRootOptionsIfRequired()) { mAllPrefs.add(mRootAccess); } + + mDevelopmentTools = (PreferenceScreen) findPreference(DEVELOPMENT_TOOLS); + mAllPrefs.add(mDevelopmentTools); } private ListPreference addListPreference(String prefKey) { |