Craig-Macomber/WeatherOracle — pull request #122 by Tim727 (2012-05-14 22:01:38+00:00)
Title: Updated intent in FiltersActivity to use empty filter and modified code in other activities in that tab to refer to filter.getName() instead of the preexisting field "filterName". Also updated the savebutton listeners in TimeRule and ConditionalRule and o

initializeSaveButton() which resets the tab to the name screen if the
current name is invalid when the user tries to save. I'm also now passing
in an empty filter in the intent from FiltersActivity to
FilterMenuActivity when the "Add Filter" button gets pressed. I've also
move the static field conitions from conditionRuleViewer to
FilterMenuViewer so all of the static fields for that tab menu will be in
the same centralized location. I've also modified the edit text listener
to not automatically update the name of the static field filter if the
name entered is one that is not valid. In addition I have added a static
string field "initialFilterName" to FilterMenuActivity. This field stores
the original name of the filter passed into FilterMenuActivity. This is
used in the updated logic for the edit text listener to ensure that if the
user is viewing an already existing filter and they change the name to
something else and then change the name back to the original name that
there won't be a bug where the program thinks that they've entered in a
name that is already taken.