|
|
@ -81,7 +81,7 @@ public class OldTaskPreferences extends InjectingPreferenceActivity {
|
|
|
|
|
|
|
|
|
|
|
|
private void purgeDeletedTasks() {
|
|
|
|
private void purgeDeletedTasks() {
|
|
|
|
dialogBuilder
|
|
|
|
dialogBuilder
|
|
|
|
.newMessageDialog(R.string.EPr_manage_purge_deleted_message)
|
|
|
|
.newDialog(R.string.EPr_manage_purge_deleted_message)
|
|
|
|
.setPositiveButton(
|
|
|
|
.setPositiveButton(
|
|
|
|
android.R.string.ok,
|
|
|
|
android.R.string.ok,
|
|
|
|
(dialog, which) ->
|
|
|
|
(dialog, which) ->
|
|
|
@ -93,7 +93,7 @@ public class OldTaskPreferences extends InjectingPreferenceActivity {
|
|
|
|
|
|
|
|
|
|
|
|
private void deleteCompletedEvents() {
|
|
|
|
private void deleteCompletedEvents() {
|
|
|
|
dialogBuilder
|
|
|
|
dialogBuilder
|
|
|
|
.newMessageDialog(R.string.EPr_manage_delete_completed_gcal_message)
|
|
|
|
.newDialog(R.string.EPr_manage_delete_completed_gcal_message)
|
|
|
|
.setPositiveButton(
|
|
|
|
.setPositiveButton(
|
|
|
|
android.R.string.ok,
|
|
|
|
android.R.string.ok,
|
|
|
|
(dialog, which) ->
|
|
|
|
(dialog, which) ->
|
|
|
@ -109,7 +109,7 @@ public class OldTaskPreferences extends InjectingPreferenceActivity {
|
|
|
|
|
|
|
|
|
|
|
|
private void deleteAllCalendarEvents() {
|
|
|
|
private void deleteAllCalendarEvents() {
|
|
|
|
dialogBuilder
|
|
|
|
dialogBuilder
|
|
|
|
.newMessageDialog(R.string.EPr_manage_delete_all_gcal_message)
|
|
|
|
.newDialog(R.string.EPr_manage_delete_all_gcal_message)
|
|
|
|
.setPositiveButton(
|
|
|
|
.setPositiveButton(
|
|
|
|
android.R.string.ok,
|
|
|
|
android.R.string.ok,
|
|
|
|
(dialog, which) ->
|
|
|
|
(dialog, which) ->
|
|
|
@ -133,7 +133,7 @@ public class OldTaskPreferences extends InjectingPreferenceActivity {
|
|
|
|
|
|
|
|
|
|
|
|
private void resetPreferences() {
|
|
|
|
private void resetPreferences() {
|
|
|
|
dialogBuilder
|
|
|
|
dialogBuilder
|
|
|
|
.newMessageDialog(R.string.EPr_reset_preferences_warning)
|
|
|
|
.newDialog(R.string.EPr_reset_preferences_warning)
|
|
|
|
.setPositiveButton(
|
|
|
|
.setPositiveButton(
|
|
|
|
R.string.EPr_reset_preferences,
|
|
|
|
R.string.EPr_reset_preferences,
|
|
|
|
(dialog, which) -> {
|
|
|
|
(dialog, which) -> {
|
|
|
@ -146,7 +146,7 @@ public class OldTaskPreferences extends InjectingPreferenceActivity {
|
|
|
|
|
|
|
|
|
|
|
|
private void deleteTaskData() {
|
|
|
|
private void deleteTaskData() {
|
|
|
|
dialogBuilder
|
|
|
|
dialogBuilder
|
|
|
|
.newMessageDialog(R.string.EPr_delete_task_data_warning)
|
|
|
|
.newDialog(R.string.EPr_delete_task_data_warning)
|
|
|
|
.setPositiveButton(
|
|
|
|
.setPositiveButton(
|
|
|
|
R.string.EPr_delete_task_data,
|
|
|
|
R.string.EPr_delete_task_data,
|
|
|
|
(dialog, which) -> {
|
|
|
|
(dialog, which) -> {
|
|
|
|