packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java
private static final String DEBUG_APPLICATIONS_CATEGORY_KEY = "debug_applications_category";
private static final String DEBUG_LOG = "debug_log";
private CheckBoxPreference mDEBUGLOG;
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
final PreferenceGroup debugDebuggingCategory = (PreferenceGroup)
findPreference(DEBUG_DEBUGGING_CATEGORY_KEY);
mDEBUGLOG = findAndInitCheckboxPref(DEBUG_LOG);
debugDebuggingCategory.removePreference(mDEBUGLOG);
packages/apps/Settings/res/xml/development_prefs.xml
<PreferenceCategory android:key="debug_debugging_category"
android:title="@string/debug_debugging_category">
<CheckBoxPreference
android:key="debug_log"
android:title="@string/debug_log"
android:summary="@string/debug_log_summary"/>