SimonVT/android-menudrawer — pull request #2 by scompt (2012-09-04 07:58:55+00:00)
Title: Only save drawer state as visible if the drawer is STATE_OPEN

If you start another activity from the menu drawer and then close it immediately, the state that is saved is that the drawer is open, although it's currently in the process of closing. This pull request makes the state saved depend on the value of the `mDrawerState` variable. Only if it's `STATE_OPEN` is the state of the drawer persisted as open. Otherwise, it's closed.