Permalink
Browse files

Use this instead of class when comparing ...

  • Loading branch information...
1 parent 6a4edf0 commit 3db4794ae91b37a1094685f445270c96c9061f4f @cyrilmottier cyrilmottier committed Jun 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 GreenDroid/src/greendroid/app/GDTabActivity.java
View
2 GreenDroid/src/greendroid/app/GDTabActivity.java
@@ -153,7 +153,7 @@ public void onActionBarItemClicked(int position) {
if (position == OnActionBarListener.HOME_ITEM) {
final Class<?> klass = getGDApplication().getHomeActivityClass();
- if (klass != null && !klass.equals(GDTabActivity.class.getClass())) {
+ if (klass != null && !klass.equals(GDTabActivity.this.getClass())) {
if (Config.GD_INFO_LOGS_ENABLED) {
Log.i(LOG_TAG, "Going back to the home activity");
}

0 comments on commit 3db4794

Please sign in to comment.