Buggy code:
public class MobilityControl extends PreferenceActivity { private static final boolean DEBUG = false ; private static final String TAG = "Mobility<seq2seq4repair_space>Preferences" ; private static MobilityControl mInstance ; private static final String KEY_MOBILITY_ONOFF_PREF = "pref_mobility_onoff" ; private static final String KEY_MOBILITY_SAMPLERATE_PREF = "pref_mobility_samplerate" ; public static final String MOBILITY_ON = "mobility_on" ; NotificationManager mNM ; public static MobilityControl getInstance ( ) { } @ Override public void onCreate ( Bundle state ) { } @ Override public void onRestoreInstanceState ( Bundle savedInstanceState ) { } @ Override public void onRestart ( ) { } @ Override public void onStart ( ) { } int rate = 60 ; boolean running = false ; @ Override public void onResume ( ) { } @ Override public void onSaveInstanceState ( Bundle savedInstanceState ) { } @ Override public void onPause ( ) { } @ Override public void onStop ( ) { } @ Override public void onDestroy ( ) { } private static final int DIALOG_IDX_TRIGGERINFO = 1 ; private static final int DIALOG_IDX_NEWUPDATE = 2 ; private static final int DIALOG_IDX_NOUPDATE = 3 ; private static final int DIALOG_IDX_TIMEOUT = 4 ; private static final String KEY_MOBILITY_BLACKOUT_PREF = "pref_mobility_blackout" ; public static View createSpacer ( Context c , int height ) { } public static TableRow createRow ( String text1 , String text2 , int fontSize , int [ ] pad , Context c ) { } private ProgressDialog pd ; public void cancelNotification ( int nId ) { } private OnPreferenceChangeListener mOnCheckBoxChangeListener = new OnPreferenceChangeListener ( ) { public boolean onPreferenceChange ( Preference pref , Object val ) { } } ; private OnPreferenceClickListener mOnClickListener = new OnPreferenceClickListener ( ) { public boolean onPreferenceClick ( Preference preference ) { } } ; private PreferenceScreen createPreferenceHierarchy ( ) { } private void createMobilityGroup ( PreferenceScreen root ) { Log . d ( MobilityControl . TAG , "Creating<seq2seq4repair_space>mobility<seq2seq4repair_space>group" ) ; PreferenceCategory mobilityPrefCat = new PreferenceCategory ( this ) ; <START_BUG> mobilityPrefCat . setTitle ( ( "Mobility<seq2seq4repair_space>is<seq2seq4repair_space>" + ( running ) ) ) ; <END_BUG> root . addPreference ( mobilityPrefCat ) ; CheckBoxPreference moOnOffPref = new CheckBoxPreference ( this ) ; moOnOffPref . setKey ( MobilityControl . KEY_MOBILITY_ONOFF_PREF ) ; moOnOffPref . setTitle ( "Mobility" ) ; moOnOffPref . setSummary ( "Mobility<seq2seq4repair_space>is<seq2seq4repair_space>currently<seq2seq4repair_space>off." ) ; moOnOffPref . setSummaryOn ( "Mobility<seq2seq4repair_space>is<seq2seq4repair_space>currently<seq2seq4repair_space>on." ) ; moOnOffPref . setOnPreferenceChangeListener ( mOnCheckBoxChangeListener ) ; moOnOffPref . setDefaultValue ( running ) ; mobilityPrefCat . addPreference ( moOnOffPref ) ; moOnOffPref . setChecked ( running ) ; MobilityControl . DisplayValueListPreference moSampPref = new MobilityControl . DisplayValueListPreference ( this ) ; moSampPref . setKey ( MobilityControl . KEY_MOBILITY_SAMPLERATE_PREF ) ; moSampPref . setTitle ( "Sampling<seq2seq4repair_space>rate" ) ; moSampPref . setEntries ( pref_mobility_rate_options ) ; moSampPref . setEntryValues ( pref_mobility_rate_options_values ) ; moSampPref . setDefaultValue ( ( "" + ( rate ) ) ) ; moSampPref . setDialogTitle ( "Set<seq2seq4repair_space>sample<seq2seq4repair_space>rate" ) ; moSampPref . setDependency ( MobilityControl . KEY_MOBILITY_ONOFF_PREF ) ; moSampPref . setOnPreferenceChangeListener ( mOnCheckBoxChangeListener ) ; mobilityPrefCat . addPreference ( moSampPref ) ; moSampPref . setValue ( ( ( rate ) + "" ) ) ; Preference blackoutPref = new Preference ( this ) ; blackoutPref . setKey ( MobilityControl . KEY_MOBILITY_BLACKOUT_PREF ) ; blackoutPref . setTitle ( "Blackout<seq2seq4repair_space>times" ) ; blackoutPref . setTitle ( "Tap<seq2seq4repair_space>here<seq2seq4repair_space>to<seq2seq4repair_space>set<seq2seq4repair_space>blackout<seq2seq4repair_space>times" ) ; blackoutPref . setOnPreferenceClickListener ( mOnClickListener ) ; mobilityPrefCat . addPreference ( blackoutPref ) ; } public class CheckBoxPreferenceWithNotDependency extends CheckBoxPreference { public CheckBoxPreferenceWithNotDependency ( Context context ) { } private String mDependencyKey = null ; @ Override protected void onAttachedToActivity ( ) { } @ Override public void setDependency ( String dependencyKey ) { } @ Override public void onDependencyChanged ( Preference dependency , boolean disableDependent ) { } } public class DisplayValueListPreference extends ListPreference { private String mDependencyKey = null ; public DisplayValueListPreference ( Context context ) { } @ Override protected void onBindView ( View view ) { } @ Override protected void onAttachedToActivity ( ) { } @ Override public void setDependency ( String dependencyKey ) { } @ Override public void onDependencyChanged ( Preference dependency , boolean disableDependent ) { } @ Override protected void onDialogClosed ( boolean positiveResult ) { } @ Override public void onClick ( ) { } } }

Fix:
mobilityPrefCat . setTitle ( "Mobility" ) ;