do not add child feed fragments to backstack to make back button behavior more consistent (refs #824)

This commit is contained in:
Andrew Dolgov 2014-11-04 10:40:04 +03:00
parent 6cb29c3889
commit 076665da8f
2 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
ff.initialize(cat, true); ff.initialize(cat, true);
ft.replace(R.id.feeds_fragment, ff, FRAG_FEEDS); ft.replace(R.id.feeds_fragment, ff, FRAG_FEEDS);
ft.addToBackStack(null); //ft.addToBackStack(null);
ft.commit(); ft.commit();
//getSupportActionBar().setDisplayHomeAsUpEnabled(true); //getSupportActionBar().setDisplayHomeAsUpEnabled(true);

View File

@ -206,7 +206,7 @@ public class OfflineFeedsActivity extends OfflineActivity implements OfflineHead
ff.initialize(catId, true); ff.initialize(catId, true);
ft.replace(R.id.feeds_fragment, ff, FRAG_FEEDS); ft.replace(R.id.feeds_fragment, ff, FRAG_FEEDS);
ft.addToBackStack(null); //ft.addToBackStack(null);
//getSupportActionBar().setDisplayHomeAsUpEnabled(true); //getSupportActionBar().setDisplayHomeAsUpEnabled(true);
//m_actionbarUpEnabled = true; //m_actionbarUpEnabled = true;