Buggy code:
public class StatusBarExpandedHeaderSettings extends SettingsPreferenceFragment implements Preference . OnPreferenceChangeListener { private static final String PREF_SHOW_WEATHER = "expanded_header_show_weather" ; private static final String PREF_SHOW_LOCATION = "expanded_header_show_weather_location" ; private static final String PREF_TEXT_COLOR = "expanded_header_text_color" ; private static final String PREF_ICON_COLOR = "expanded_header_icon_color" ; private static final int DEFAULT_COLOR = - 1 ; private static final int MENU_RESET = Menu . FIRST ; private static final int DLG_RESET = 0 ; private SwitchPreference mShowWeather ; private SwitchPreference mShowLocation ; private ColorPickerPreference mTextColor ; private ColorPickerPreference mIconColor ; private ContentResolver mResolver ; @ Override public void onCreate ( Bundle savedInstanceState ) { } public void refreshSettings ( ) { } @ Override public void onCreateOptionsMenu ( Menu menu , MenuInflater inflater ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } public boolean onPreferenceChange ( Preference preference , Object newValue ) { } private void showDialogInner ( int id ) { } public static class MyAlertDialogFragment extends DialogFragment { public static StatusBarExpandedHeaderSettings . MyAlertDialogFragment newInstance ( int id ) { } StatusBarExpandedHeaderSettings getOwner ( ) { } @ Override public Dialog onCreateDialog ( Bundle savedInstanceState ) { int id = getArguments ( ) . getInt ( "id" ) ; switch ( id ) { case StatusBarExpandedHeaderSettings . DLG_RESET : return new android . app . AlertDialog . Builder ( getActivity ( ) ) . setTitle ( reset ) . setMessage ( reset_option_message ) . setNegativeButton ( cancel , null ) . setNeutralButton ( reset_android , new DialogInterface . OnClickListener ( ) { public void onClick ( DialogInterface dialog , int which ) { System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_SHOW_WEATHER , 0 ) ; System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_SHOW_WEATHER_LOCATION , 1 ) ; System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_TEXT_COLOR , StatusBarExpandedHeaderSettings . DEFAULT_COLOR ) ; System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_ICON_COLOR , StatusBarExpandedHeaderSettings . DEFAULT_COLOR ) ; getOwner ( ) . refreshSettings ( ) ; } <START_BUG> } ) . setPositiveButton ( reset_fusion , new DialogInterface . OnClickListener ( ) { <END_BUG> public void onClick ( DialogInterface dialog , int which ) { System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_SHOW_WEATHER , 1 ) ; System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_SHOW_WEATHER_LOCATION , 1 ) ; System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_TEXT_COLOR , - 65536 ) ; System . putInt ( getOwner ( ) . mResolver , STATUS_BAR_EXPANDED_HEADER_ICON_COLOR , - 13388315 ) ; getOwner ( ) . refreshSettings ( ) ; } } ) . create ( ) ; } throw new IllegalArgumentException ( ( "unknown<seq2seq4repair_space>id<seq2seq4repair_space>" + id ) ) ; } @ Override public void onCancel ( DialogInterface dialog ) { } } No newline ; at end ; of file ; }

Fix:
} ) . setPositiveButton ( reset_bliss , new DialogInterface . OnClickListener ( ) {