Use ActivityHelpers.goHome instead of finish() when the home button is pressed.
This commit is contained in:
parent
466cd66461
commit
4958f252ef
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user