@Override
    protected void onRestoreInstanceState(Parcelable state) {
        SavedState savedState = (SavedState) state;
        super.onRestoreInstanceState(savedState.getSuperState());

        restoreState(savedState.mState);
    }
Restores the state of the drawer.

@param in A parcelable containing the drawer state.
menudrawer/src/net/simonvt/menudrawer/MenuDrawer.java