Skip to content

Commit

Permalink
revert getActivityStack( ) method.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuchen authored and zhiqiangqian committed Jul 22, 2014
1 parent 0276882 commit f2c6f87
Showing 1 changed file with 0 additions and 12 deletions.
Expand Up @@ -78,16 +78,4 @@ static protected int checkAndAdjustPosition( int oldPosn, int newPosn,

return newPosn;
}

//If the element is not added in to the Module, exclude from the activity stack.
public ActivityStack getActivityStack( )
{
Module root = element.getRoot( );
if ( root == null )
{
//set null module to avoid clearing the name helper cache
return new ActivityStack( null );
}
return module.getActivityStack( );
}
}

0 comments on commit f2c6f87

Please sign in to comment.