diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/EditPeopleControlSet.java b/astrid/plugin-src/com/todoroo/astrid/actfm/EditPeopleControlSet.java index 646d7a64f..8cebb8f8c 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/EditPeopleControlSet.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/EditPeopleControlSet.java @@ -786,8 +786,11 @@ public class EditPeopleControlSet extends PopupControlSet { /** Resume save * @param data */ public void onActivityResult(int requestCode, int resultCode, Intent data) { - if(requestCode == loginRequestCode && resultCode == Activity.RESULT_OK) + if(requestCode == loginRequestCode && resultCode == Activity.RESULT_OK) { + task.setValue(Task.USER_ID, -2L); + task.setValue(Task.USER, ""); saveSharingSettings(saveToast); + } else if (requestCode == loginRequestCode) makePrivateTask(); } diff --git a/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java b/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java index 6e94bb0c1..ca74a7a63 100644 --- a/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java @@ -591,6 +591,8 @@ public class TaskListActivity extends ListActivity implements OnScrollListener, if (!Preferences.getBoolean(R.string.p_showed_add_task_help, false)) { HelpInfoPopover.showPopover(TaskListActivity.this, quickAddBox, R.string.help_popover_add_task, null); Preferences.setBoolean(R.string.p_showed_add_task_help, true); + } else if (!Preferences.getBoolean(R.string.p_showed_tap_task_help, false)) { + showTaskEditHelpPopover(); } else if (Preferences.isSet(getString(R.string.p_showed_lists_help)) && !Preferences.getBoolean(R.string.p_showed_lists_help, false)) { HelpInfoPopover.showPopover(TaskListActivity.this, findViewById(R.id.back), R.string.help_popover_lists, null); @@ -855,7 +857,7 @@ public class TaskListActivity extends ListActivity implements OnScrollListener, currentCursor.moveToPosition(i); if(currentCursor.get(Task.ID) == withCustomId) { getListView().setSelection(i); - showHelpPopover(); + showTaskEditHelpPopover(); return; } } @@ -882,13 +884,13 @@ public class TaskListActivity extends ListActivity implements OnScrollListener, currentCursor.moveToPosition(i); if(currentCursor.get(Task.ID) == withCustomId) { getListView().setSelection(i); - showHelpPopover(); + showTaskEditHelpPopover(); break; } } } - private void showHelpPopover() { + private void showTaskEditHelpPopover() { if (!Preferences.getBoolean(R.string.p_showed_tap_task_help, false)) { Preferences.setBoolean(R.string.p_showed_tap_task_help, true); InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);