Use ActivityHelpers.goHome instead of finish() when the home button is pressed.

This commit is contained in:
Kevin Ruland 2012-02-23 17:38:46 +00:00
parent 466cd66461
commit 4958f252ef

View File

@ -56,7 +56,7 @@ implements Simulations.OnSimulationSelectedListener
AndroidLogWrapper.d(OpenRocketViewer.class,"onMenuItemSelected" + item.getItemId());
switch(item.getItemId()) {
case android.R.id.home:
finish();
ActivityHelpers.goHome(this);
return true;
case R.id.motor_list_menu_option:
ActivityHelpers.browseMotors(this);