do not add child feed fragments to backstack to make back button behavior more consistent (refs #824)
This commit is contained in:
parent
6cb29c3889
commit
076665da8f
@ -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);
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user