|
|
@ -70,7 +70,6 @@ public class SystemSettingsActivity extends PreferenceCompatActivity { |
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
protected SettingsPersistence settingsPersistence; |
|
|
|
protected SettingsPersistence settingsPersistence; |
|
|
|
private OnPreferenceClickListener onImportSettingsClick = new OnPreferenceClickListener() { |
|
|
|
private OnPreferenceClickListener onImportSettingsClick = new OnPreferenceClickListener() { |
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean onPreferenceClick(Preference preference) { |
|
|
|
public boolean onPreferenceClick(Preference preference) { |
|
|
|
showDialog(DIALOG_IMPORTSETTINGS); |
|
|
|
showDialog(DIALOG_IMPORTSETTINGS); |
|
|
@ -78,7 +77,6 @@ public class SystemSettingsActivity extends PreferenceCompatActivity { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
private OnPreferenceClickListener onExportSettingsClick = new OnPreferenceClickListener() { |
|
|
|
private OnPreferenceClickListener onExportSettingsClick = new OnPreferenceClickListener() { |
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean onPreferenceClick(Preference preference) { |
|
|
|
public boolean onPreferenceClick(Preference preference) { |
|
|
|
showDialog(DIALOG_EXPORTSETTINGS); |
|
|
|
showDialog(DIALOG_EXPORTSETTINGS); |
|
|
@ -268,7 +266,6 @@ public class SystemSettingsActivity extends PreferenceCompatActivity { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
|
|
|
protected Dialog onCreateDialog(int id) { |
|
|
|
protected Dialog onCreateDialog(int id) { |
|
|
|
switch (id) { |
|
|
|
switch (id) { |
|
|
|
case DIALOG_IMPORTSETTINGS: |
|
|
|
case DIALOG_IMPORTSETTINGS: |
|
|
|