annovanvliet / solitaire-for-android

An Revised version of the solitaire-for-android from code.google.com/p/solitaire-for-android
Apache License 2.0
1 stars 0 forks source link

Restarting when winning a game #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Win a game
2. Menu => Restart

What is the expected output? What do you see instead?
Restart but nothing happens and sometimes I get a force close.

What version of the product are you using?
Last from the market.

On what operating system?
Android 1.6

Please provide any additional information below.

I discover this while trying to beat my best time.
I founded an easy game and tried to restart after winning to repeat 
movements fast but when I clicked on Restart I got a force close instead.

I fix this by calling onPrepareOptionsMenu and enable/disable the restart 
button depending if the user won or not. I attached a patch.

Original issue reported on code.google.com by maca...@gmail.com on 20 Feb 2010 at 12:14

Attachments: