sumeetsinghani / bus-stop-alarm

Automatically exported from code.google.com/p/bus-stop-alarm
MIT License
0 stars 0 forks source link

MapPage does not finish #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set an alarm using MapPage.
2. Go back to main page and press back button.

What is the expected output? 
Should exit the app, or anything but the previous map page.

What do you see instead?
The previous map page.

This has been fixed by calling finish() after starting the confirmationpage 
intent. The only side effect that comes with this is that when you are on 
confirmation page and you go back, it takes you back to the main page 
instead of map page.

Original issue reported on code.google.com by chen...@gmail.com on 12 Mar 2010 at 6:31

GoogleCodeExporter commented 9 years ago
I have changed it using startActivityForResult() and finishActivity() calls so 
that it 
only finishes the map page when the user press okay in confirmation page. So if 
a user 
backs from a confirmation page (which finishes itself) the map page will still 
be 
there.

Original comment by chen...@gmail.com on 12 Mar 2010 at 7:42