fix home button on feeds activity

This commit is contained in:
Andrew Dolgov 2012-09-17 23:35:52 +04:00
parent 84a766213d
commit 3da48391d6
2 changed files with 4 additions and 4 deletions

View File

@ -88,9 +88,6 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
return true;
default:
Log.d(TAG, "onOptionsItemSelected, unhandled id=" + item.getItemId());
return super.onOptionsItemSelected(item);

View File

@ -439,6 +439,9 @@ public class OnlineActivity extends CommonActivity {
final ArticlePager ap = (ArticlePager)getSupportFragmentManager().findFragmentByTag(FRAG_ARTICLE);
switch (item.getItemId()) {
case android.R.id.home:
finish();
return true;
case R.id.logout:
logout();
return true;