|
|
@ -116,7 +116,7 @@ public class PreferencesFragment extends PreferenceFragmentCompat {
|
|
|
|
_result.putExtra("needsRecreate", true);
|
|
|
|
_result.putExtra("needsRecreate", true);
|
|
|
|
getActivity().recreate();
|
|
|
|
getActivity().recreate();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.setPositiveButton(android.R.string.ok, null)
|
|
|
|
.setNegativeButton(android.R.string.cancel, null)
|
|
|
|
.create());
|
|
|
|
.create());
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
@ -147,7 +147,7 @@ public class PreferencesFragment extends PreferenceFragmentCompat {
|
|
|
|
_result.putExtra("needsRefresh", true);
|
|
|
|
_result.putExtra("needsRefresh", true);
|
|
|
|
dialog.dismiss();
|
|
|
|
dialog.dismiss();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.setPositiveButton(android.R.string.ok, null)
|
|
|
|
.setNegativeButton(android.R.string.cancel, null)
|
|
|
|
.create());
|
|
|
|
.create());
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|