Skip to content

Commit

Permalink
Merge branch 'base-reflector-fix' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliomonteazul committed Feb 6, 2014
2 parents 79b7d39 + 6b661ec commit ab9fb1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static BaseReflector getReflectorForActivity(Activity activity) {
private static ActionBarType searchForActivitySuperClass(Activity activity) {
Class currentLevel = activity.getClass();
while (currentLevel != Activity.class) {
if (currentLevel.getSimpleName().equals("SherlockActivity")) {
if (currentLevel.getSimpleName().equals("SherlockActivity") || currentLevel.getSimpleName().equals("SherlockFragmentActivity")) {
return ActionBarType.ACTIONBAR_SHERLOCK;
}
if (currentLevel.getSimpleName().equals("ActionBarActivity")) {
Expand Down

0 comments on commit ab9fb1a

Please sign in to comment.